<分区> 分区>
我在解释器提示符下尝试了这段代码:
>>> x = 7
>>> if x > 5:
... print("five")
我收到此错误消息:
File "<stdin>", line 2
print("five")
IndentationError: expected an indented block
为什么?
<分区> 分区>
我在解释器提示符下尝试了这段代码:
>>> x = 7
>>> if x > 5:
... print("five")
我收到此错误消息:
File "<stdin>", line 2
print("five")
IndentationError: expected an indented block
为什么?