error info:
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
this is line 83-85:
input2 = input("Would you like to long pass to 3(a) or through ball to 2(b)")
if input2 == 'a':
If you want to read the whole thing right now :
link to code
https://pastebin.com/bhYMKa8M
The problem is for when I put b or c for the first a,b and c question.But A works perfectly fine.
Please help I literally have no idea. Python ver 3.7