IndentationError:expected an indented block错误解决 这个错误的意思是缺少缩进 注意提示你的代码内行,可能缩进出现问题。 解决方法:在该缩进的地方加Tab或者空格(但不能混用)