代码敲完之后为什么运行不了啊?
print('------鱼C工作室-------')print('不妨猜一下小甲鱼心里的数字:')
temp = input(temp)
if guess == 8:
print('你是小甲鱼肚子里的蛔虫吗')
else:
print('猜错啦')
print('游戏结束')
我的运行框
Python 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>>
小甲鱼的运行框
Python 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> ------鱼C工作室-------
不妨猜一下小甲鱼心里的数字:
报错了吧
你再去检查一下代码,和正确的代码对比下 + 1{:10_248:} 运行后,当出现>>> 时,输入数字呀,如输入5 {:10_256:}
页:
[1]