Advertisement
misingnoglic

How I asked Tess to Prom

Jun 9th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.61 KB | None | 0 0
  1. from webbrowser import open
  2. print("Tess Levinson, will you go to prom with me?")
  3. x=(input("If you want to go, type 'yes,' (without the quotes) \nIf you don't, type 'no' \nAnswer: ")).lower()
  4. y=0
  5. while y==0:
  6.     if x == 'yes':
  7.         print("Yay!")
  8.         open('http://www.youtube.com/watch?v=XHFy3YWpRx8')
  9.         y=1
  10.     elif x == 'no':
  11.         print("NOOO YOU ARE TEARING ME APART")
  12.         open('http://www.youtube.com/watch?v=Plz-bhcHryc')
  13.         y=1
  14.     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