Python中遇到的错误IndentationError: unexpected indent

刚开始学习python一段时间今天遇到了一个问题:
这里写图片描述
IndentationError: unexpected indent
查了这是缩进的错误,python讲求缩进严格,有时候粗心大意不注意就会出现这种错误。修改报错位置的缩进。就可以解决

猜你喜欢

转载自blog.csdn.net/qq_34288630/article/details/80492571