Advertisement
Suicidal_Unicorn

quiz

Dec 9th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. phrase = input("Would you like to play a game? ")
  2. if phrase == "yes" :
  3.     print("Then lets begin")
  4.     question = input("Who is the United States President? ")
  5.     if question == "Donald Trump":
  6.         print("Correct")
  7.     else:
  8.         print("try again")
  9. elif phrase == "no" :
  10.     print("you are the weakest link, Goodbye")
  11. else:
  12.     print("Give it a try")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement