I keep failing to get the Correct answer to print.
guess = input("what is 2 + 2 ")
tries = 0
while guess != 4 and tries < 50:
input ("try again ")
tries + 1
if guess == 4:
print("Correct")
else:
print("Wrong")
I keep failing to get the Correct answer to print.
guess = input("what is 2 + 2 ")
tries = 0
while guess != 4 and tries < 50:
input ("try again ")
tries + 1
if guess == 4:
print("Correct")
else:
print("Wrong")