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


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


阅读量:145
阅读量:31
阅读量:185
阅读量:79
阅读量:134
1、如图,当我们在if判断语句后执行print语句时,报错IndentationError:expected an indented block


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

