import os, glob, sys x = 5 y = input('fucker') z = eval(y) def dick(): while y > x: print("y is bigger") x = x + 1 dick() print("The End") class person: def __init__(self, IQ, PWR): self.IQ = IQ self.PWR = PWR def addup(self): return self.IQ + self.PWR John = person(127, 50) Luke = person(105, 70) j = John.addup() l = Luke.addup() def win(): if j > l: print('John wins') elif j == l: print("It's a tie") else: print('Luke wins') win() sys.exit()
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