视觉工作室代码语法错误,未知空间

问题描述 投票:-1回答:1

当我编写我的python代码时,突然出现无效的语法(,第207行)出现在PROBLEMS选项卡中,我无法运行我的代码。

enter image description here

红波是错误的。所以我开始删除这个空间enter image description here

enter image description here

enter image description here

但这个错误空间无休止地离开。

我怎样才能解决这个问题?

python visual-studio-code space
1个回答
2
投票

这与空间无关。第1张图像上的第207行无效。你有一个方括号,但打开一个是没有的。

© www.soinside.com 2019 - 2024. All rights reserved.