Spyder一用input之类的就报错
类似这样的就会报错:
a = input("请输入鸡和兔的总数\n")
b = input("请输入鸡和兔的脚数\n")
a = int(a)
b = int(b)
结果只出现runfile和wdir
runfile('C:/Users/Asgardtrex/.spyder-py3/temp.py', wdir='C:/Users/Asgardtrex/.spyder-py3')
Spyder一用input之类的就报错
a = input("请输入鸡和兔的总数\n")
b = input("请输入鸡和兔的脚数\n")
a = int(a)
b = int(b)
可尝试卸载后重新安装,从此处下载安装:
https://github.com/spyder-ide/spyder/releases/tag/v5.0.3