【发布时间】:2011-12-09 03:00:15
【问题描述】:
好的,下面是一段脚本:
def start():
print "While exploring the ruins of a recently abandoned castle you stumble apon the entrance to what appears to be a dungeon. You are carrying on you a...
我不断收到错误
user@ubuntu:~/Documents/python$ python dungeon.py
File "dungeon.py", line 533
def start():
^
IndentationError: expected an indented block
我知道这可能很明显,但有人知道我做错了什么吗?我尝试更换缩进 只有空格和制表符,但它仍然给我这个错误。我很感激任何答案。
【问题讨论】:
-
def start():之前的行是什么?
标签: python block indentation