Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from webbrowser import open
- print("Tess Levinson, will you go to prom with me?")
- x=(input("If you want to go, type 'yes,' (without the quotes) \nIf you don't, type 'no' \nAnswer: ")).lower()
- y=0
- while y==0:
- if x == 'yes':
- print("Yay!")
- open('http://www.youtube.com/watch?v=XHFy3YWpRx8')
- y=1
- elif x == 'no':
- print("NOOO YOU ARE TEARING ME APART")
- open('http://www.youtube.com/watch?v=Plz-bhcHryc')
- y=1
- else: x= (input ("Invalid Answer, please try again.\nIf you want to go, type 'yes,' (without the quotes) \nIf you don't, type 'no' \nAnswer: ")).lower()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement