错误信息:
Traceback (most recent call last):
File "C:/Users/ADMIN/Desktop/python/footballcomplex.py", line 85, in <module>
if input2 == 'a':
NameError: name 'input2' is not defined
这是第 83-85 行:
input2 = input("Would you like to long pass to 3(a) or through ball to 2(b)")
if input2 == 'a':
如果您想立即阅读全文:
link to codehttps://pastebin.com/bhYMKa8M
问题在于当我将 b 或 c 用于第一个 a、b 和 c 问题时。但 A 工作得非常好。
请帮助我真的不知道。Python 3.7 版
牧羊人nacy
萧十郎
相关分类