File "index.py", line 8 sum=sum\n ^SyntaxError: unexpected character after line continuation character File "index.py", line 8
我后面没字符啊
多谢!
第八行的应该是sum=sum/n,你编码都写错了当然会不能运行了