Python syntax error (in the interpreter) after a for loop

后端 未结 1 1918
一整个雨季
一整个雨季 2020-12-02 01:11

I\'m running some python code (pasted in) from the console, and getting an unexpected result. Here\'s what the code looks like:

parentfound = False
structfou         


        
相关标签:
1条回答
  • 2020-12-02 01:26

    The ... prompt in the REPL means that it still hasn't finished the previous block. You will need to press Enter on an empty line to terminate it first.

    0 讨论(0)
提交回复
热议问题