0
Whose is ready to earn their Boss Badge?
Help me get this code to work! (Thank you) print("Fill in the Blank Quiz") print("What is 2+2") answer = input(4) if answer == 4: print("You are correct!") if answer is not 4: print("Try again") print(answer)
4 Respuestas
+ 1
print("Fill in the Blank Quiz")
print("What is 2+2")
answer = input("Enter Answer - ")
if answer == "4":
print("You are correct!")
if answer != "4":
print("Try again")
print("Answer is not {}".format(answer))
0
Here. Improved version (doesn't work on code playground because input is janky, but try it on a proper ide)
https://code.sololearn.com/cREWPIHeYT3n/?ref=app