0

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")
Patrick Artner
  • 50,409
  • 9
  • 43
  • 69

0 Answers0