IndentationError: expected an indented block

翻译为IndentationError:预期的缩进块

 

解决方法:有冒号的下一行要缩进,该缩进就缩进

相关文章: