ifelif语句中的缩进问题

2024-10-03 23:21:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个缩进错误:

age = 3
if age > 0:
    print("0")
elif age < 0:

返回

SyntaxError: unindent does not match indetation level

enter image description here


Tags: ageifmatch错误notlevelprintelif