import ctypes import random print "lets try to do this thingy we found on reddit" raw_input("Hey, i am the all powerful python what is ye question?") magic = ["oh boy", "when did this happen", "we won't be pro for a while", "but you got to start somewhere eh?", "eh?", "don't stop believing", "uhh that last one was spelt wrong", "this entry makes no sense", "yarrr i'm a pirate forget ye answers", "your mother was a hampster", "she smelt of cantiberries", "who knew i could do this", "this is what i should do in my free time", "will this continue on?", "never let the haters hold you down", "trump could be good for america", "or nah?", "wait... what?", "when did sally learn" , "each of these answers are random statments from my head", "maybe some of them reflect the current state of my mind", "nah", "yaaaassss"] #ctypes.windll.user32.MessageBoxA(0, "did i do thi sright?", "uhh",1) print len(magic) c= random.randrange(0,22) print magic[c]
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