python IDLE编程时遇到Python Error: Inconsistent indentation detected! 解决方法

仔细检查了几遍代码,发现indent没有错误!

之后试将所有indent都用空格代替,程序就跑起来了。

具体原因可能是IDLE环境内的Tab键有小bug。

python IDLE编程时遇到Python Error: Inconsistent indentation detected! 解决方法,布布扣,bubuko.com

文章来自:http://www.cnblogs.com/infiniti/p/3579008.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3