Starting with elif option == 2: , you indented one time too many. In a decent text editor, you should be able to highlight these lines and ... ... <看更多>
Search
Search
Starting with elif option == 2: , you indented one time too many. In a decent text editor, you should be able to highlight these lines and ... ... <看更多>
The error message IndentationError: expected an indented block would seem to indicate that you have an indentation error. It is probably caused ... ... <看更多>
... <看更多>
IndentationError : expected an indented block · Where's the rest of your code (the line where the failure occurs)? · I recommend using IDLE rather ... ... <看更多>
IndentationError :expected an indented block错误解决. 这个问题是来自Python里面的缩进问题,毕竟是函数式,对于tab和space十分敏感所以出现这个 ... ... <看更多>