在编译时会出现这样的错:IndentationError:expected an indented block
解决方法:说明此处需要缩进,你只要在出现错误的那一行,按4个空格或Tab(但不能混用)键缩进就行。
解决python中出现IndentationError: expected an indented block
最新推荐文章于 2025-02-28 14:38:58 发布
在编译时会出现这样的错:IndentationError:expected an indented block
解决方法:说明此处需要缩进,你只要在出现错误的那一行,按4个空格或Tab(但不能混用)键缩进就行。