Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- correct = 0
- incorrect = 0
- q1 = input()
- print("Does 2+2=4?")
- if q1 = "Yes" or "yes":
- correct + 1
- if else:
- incorrect + 1
- q2 = input()
- print("Does 38+19=59?")
- if q2 = "No" or "no":
- correct + 1
- if else:
- incorrect + 1
- q3 = input()
- print("Does 93x129=11997?")
- if q3 = "Yes" or "yes":
- correct + 1
- if else:
- incorrect + 1
- q4 = input()
- print("Does -1-1=0?")
- if q4 = "No" or "no":
- correct + 1
- if else:
- incorrect + 1
- q5 = input()
- print("Does 1/4+1/2=3/4?")
- if q5 = "Yes" or "yes":
- correct + 1
- if else:
- incorrect + 1
- break
- if (correct > incorrect):
- print("You passed the test!")
- if else:
- print("You failed the test...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement