python中IndentationError: expected an indented block错误的解决方法

IndentationError: expected an indented block

翻译为IndentationError:预期的缩进块

 

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

你可能感兴趣的:(python中IndentationError: expected an indented block错误的解决方法)