Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- answer = 'Y','N'
- answer = input("Are you ready to start the subject quiz? ")
- if answer == "Y":
- print("Let's start!")
- elif answer == "N":
- print("Please close the quiz!")
- question1 = 'Y','N'
- question1 = input("Do you like Computer Science? ")
- if question1 == "Y":
- print("Excellent answer, next question!")
- elif question1 == "N":
- print("Oh Dear!")
- question2 = 'Y','N'
- question2 = input("Do you like Science? ")
- if question2 == "Y":
- print("Excellent answer, next question!")
- elif question2 == "N":
- print("Oh Dear!")
- question3 = 'Y','N'
- question3 = input("Do you like English? ")
- if question3 == "Y":
- print("Excellent answer, next question!")
- elif question3 == "N":
- print("Oh Dear!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement