#copyright darion 2015-3015 import sys, os ms = "MITCHELL SICCOTTE" me = "RAW STEAK" en = "Press enter to continue..." raw_input ("What is your name? ") raw_input ("What is your favorite meal? ") print "The year is 20XX. Your name is %s." % (ms) raw_input ("Press enter to continue...") print "You wake up on an operating table. A slim, balding \ doctor with a large bulge in his teal khakis approaches you." raw_input (en) print "'Ahh, you're awake!'" raw_input (en) print "The doctor has a menacing smile, the corners of his \ grin extend to his earlobes. You are stricken with fear." raw_input (en) print "'Fear not, %s. We only need to run some tests. Afterwards, \ I may\ prepare your favorite meal, %s!'" % (ms, me) raw_input (en) answer = raw_input ("'Before we start, I must ask, are you a BIG NOOB?' (Y/N)").lower() if answer == "yes" or answer == "y": print "'Good, good... We may begin.'" raw_input (en) print "TO BE CONTINUED...?" print "Thanks for playing!" raw_input () quit () if answer == "no" or answer == "n": print "'You dishonorable knave!'" raw_input (en) print "The good doctor pulls out a PHASON BLASTER from his crotch space. he pulls the trigger and zaps you into a \ pile of pink ash." raw_input (en) print "Thanks for playing!" raw_input () quit () else: print "'What?'" raw_input (en) print "The doctor looks at you impatiently. You stare back in silence." raw_input (en) print "'I have other patients to attend to. If you're only going to waste my time, I'm done with you." raw_input (en) print "The doctor leaves the room. your operating table is lowered into a vaccum sealed chamber. After about 6 hours, a hatch is opened and you are shot out into outer space. GAME OVER." raw_input () quit ()
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