2024-10-03 23:21:07 发布
网友
我有一个缩进错误:
age = 3 if age > 0: print("0") elif age < 0:
返回
SyntaxError: unindent does not match indetation level
必须返回到前4个区块
不要自己添加空格。>>>占用空间,但不是实际的缩进。所以它应该如下所示
>>>
>>> if age>0: print ("O") elif age<0:
必须返回到前4个区块
不要自己添加空格。
>>>
占用空间,但不是实际的缩进。所以它应该如下所示相关问题 更多 >
编程相关推荐