美文网首页
python--IndentationError: uninde

python--IndentationError: uninde

作者: 山竹山竹px | 来源:发表于2020-05-15 16:09 被阅读0次

    意思是:缩进不对

    很可能是 混用TAB和空格

    解决方法

    1. 重新写一下,注意点,统一用tab
    2. 把那段代码放入pycharm, CTRL + ALT+L 格式化一下,再根据语法用tab调整一下

    相关文章

      网友评论

          本文标题:python--IndentationError: uninde

          本文链接:https://www.haomeiwen.com/subject/htncohtx.html