gpt4 book ai didi

python - 使用Spyder IDE : SyntaxError: 'continue' not properly in loop

转载 作者:太空宇宙 更新时间:2023-11-03 18:53:19 28 4
gpt4 key购买 nike

我下载了 Sypder,当我在解释器中运行脚本时,我不断收到以下错误。

>>> continue
File "<stdin>", line 1
SyntaxError: 'continue' not properly in loop

即使在简单的 hello world 脚本上也会发生这种情况:

print('hello world!')

最佳答案

您能提供一下您的脚本吗?您在 Spyder 中的 python 解释器上以 n 交互模式运行 python 时是否遇到此问题?

Google 群组上有一些讨论此问题的链接:

Google Groups Spyder problems .

请参阅页面末尾指向某些解决方案的回复。

关于python - 使用Spyder IDE : SyntaxError: 'continue' not properly in loop,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17801288/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com