好吧,这里有一段脚本:
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 - Python告诉我应该在我放置一个的地方缩进,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7791217/