def main(): nameprg() def nameprg(): print("Is your name Kaitlin?") name = input() if name == yes: question1() if name != no: print('I sent this to the wrong person then, go away.') def question1(): print('Sorry about that, had to make sure I sent this to the right person.') print('Hi Kaitlin :)') print('You are adding this to the nerd list, arent you?') like = input("Next question, do you like Jesse Neushul? :") if like == no: print('Ouch, that hurts.') if like == yes: print('Awesome, this wasnt a waste of time.') question2() def question2(): print('As you probably know, I like you a lot, and want to ask you to be my girlfriend.') print('I know I said it was gonna be something explosive, but Im out of black powder') print('Really I am just going for orignality.') prggift = input("Has any guy asked you out using a self-written computer program before?: ") if prggift == yes: print('Damn, you just cant have an original idea these days.') if prggift == no: print('Pretty original, huh?') bigquestion() def bigquestion(): print('SO HERE IT GOES') print('IM GONNA ASK') print('HANG ON') print('THIS IS NERVE-RACKING') girlfriend = input("KAITLIN DO YOU WANT TO BE MY GIRLFRIEND? :") if girlfriend == yes: print('Whew thats good, I was too scared to program a "no" option.') print('Joking aside, Im really glad I met you, but I kinda put you through hell by accident.') print('Thank you so much for deciding to be with me. You have no idea how happy it makes me.') print('Feel free to text me or something now, Im actually really curious as to whether this works.') print('Bye <3') main()
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question