简体   繁体   中英

visual studio code syntax error with unknown space

When I write my python code, suddenly invalid syntax (, line 207) appears in PROBLEMS tab and I cannot't run my code.

在此处输入图片说明

Red wave is error. So I started to remove this space 在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

But this error space leave endlessly.

How can I fix this?

This got nothing with space. Line 207 on 1st image is invalid. You got closing square bracket, but opening one is nowhere around.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM