Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Phrase = input('Hello, what is your name?>')
- print('Hello ' + Phrase + '!')
- Phrase2 = input('Would you like to play a game? Yes or No?>')
- if Phrase2 == 'Yes':
- print('Great, lets get underway!')
- elif Phrase2 == 'No':
- print('Sad to hear that, maybe next time')
- else:
- print('I did not understand your answer, yes or no?>')
- if Phrase2 == 'Yes':
- Question1 = input('What is the capital of France?>')
- if Question1 == 'Paris':
- print('Very well, that was so easy')
- else:
- print('Are you serious?')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement