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
  • 48,339
  • 8
  • 43
  • 63

0 Answers0