这怎么回事? 请教
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (
Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> L = [75, 92, 59, 68]
>>> sum = 0.0
>>> for name in L:
... sum+=name
... print sum / 4
File "<stdin>", line 3
print sum / 4
^
SyntaxError: invalid syntax
>>>
怎么会报错?