IndentationError:expected an indented block
1、如图,当我们在if判断语句后执行print语句时,报错IndentationError:expected an indented block


2、此时只需要在print前面加tab键就可以了,即:后面需要缩进。


阅读量:90
阅读量:133
阅读量:98
阅读量:164
阅读量:165
1、如图,当我们在if判断语句后执行print语句时,报错IndentationError:expected an indented block


2、此时只需要在print前面加tab键就可以了,即:后面需要缩进。

