Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase = input("Talk to me > ")
- if phrase == "hi":
- print("hello")
- elif phrase == "whats your name" or phrase =="what's your name? ":
- print("Marvin")
- else:
- print("sorry I don't understand this")
- print("bye")
- score =0
- question_1 = input(" How many wifes did Henry the eighth have?")
- if question_1 != "6":
- print (" You are incorrect")
- score = score
- print ( " your score is ", score)
- else:
- score = score +1
- print (" You are correct. Your score is ", score)
- question_2 = input(" What was Henry the Eights second wife called? ")
- if question_2 != "Anne" and question_2 != "Anne Boylen":
- print (" You are incorrect")
- score = score
- print ( " Your new score is ", score)
- else:
- score = score +1
- print ( " you are correct, your new score is ", score)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement