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


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


阅读量:169
阅读量:111
阅读量:40
阅读量:84
阅读量:150
1、如图,当我们在if判断语句后执行print语句时,报错IndentationError:expected an indented block


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

