我正在安装了python扩展的Visual Studio代码IDE上用python编写代码。
这是我的代码的一部分:
if newuser == "":
#error 0 code
else:
return
其他:用红色下划线表示错误,并说
invalid syntax (<unknown>, line 153)pylint(syntax-error)
我的代码中还有其他if语句可以工作,但仅仅是这个
我正在安装了python扩展的Visual Studio代码IDE上用python编写代码。
这是我的代码的一部分:
if newuser == "":
#error 0 code
else:
return
其他:用红色下划线表示错误,并说
invalid syntax (<unknown>, line 153)pylint(syntax-error)
我的代码中还有其他if语句可以工作,但仅仅是这个