|

楼主 |
发表于 2021-6-29 12:06:43
|
显示全部楼层
Python 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> i=1
>>> a=0
>>> while i<=5:
a=a+i**3
i=i+1
print(a)
SyntaxError: unindent does not match any outer indentation level
>>> while i<=5:
a=a+i**3
i=i+1
print(a)
SyntaxError: unindent does not match any outer indentation level
>>> while i<=5:
a=a+i**3
i=i+1
print(a)
SyntaxError: invalid syntax
成这样了 |
|