美文网首页
IndentationError: expected an in

IndentationError: expected an in

作者: Minerest | 来源:发表于2019-06-19 10:32 被阅读0次

    注意脚本中的缩进,是否有某行代码有红色波浪线。

    if xxxxxx:

    (空格)xxxxx

    或者

    def xxxxxx:

    (空格)xxxxx

    还有

    for xxxxxx:

    (空格)xxxxx

    有冒号的下一行往往要缩进,该缩进就缩进

    相关文章

      网友评论

          本文标题:IndentationError: expected an in

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