I am very new to python and I just created a program:
a = input('10x2= ')
if a==20:
print ('Correct!')
if a!=20:
print ('WRONG! Try again')
a = input('10x2= ')
if a==20:
print ('Correct!')
if a!=20:
print ('WRONG! Try again')
a = input('10x2= ')
if a==20:
print ('Correct!')
if a!=20:
print ('WRONG! Sorry, that was your last try... :( ')
The problem is that no matter what I enter when it asks for the input it says "Wrong! Try again
Like I said, I am very new to python and there is probably a very simple solution to this but I couldn't figure it out.