Python初学者常见错误一:IndentationError: unexpected indent

今天是第二次写代码,是输入半径求圆的面积和周长的,导入了math这个模块,刚开始出现错误以为是单词写错了

Python初学者常见错误一:IndentationError: unexpected indent

但是发现并不是,出现的错误是IndentationError: unexpected indent,指的就是缩进有问题,所以对下面的几行也做了修改,就可以运行了,不得不说Python对格式要求挺高。

Python初学者常见错误一:IndentationError: unexpected indent