s = s + a print 'Total Sum =',s The first time I ran this program Python printed out: File "sum.py", line 3 while a != 0 ˆ SyntaxError: invalid syntax I had ...
確定! 回上一頁