class Idiot object def marazm self 100 def make_me_stupid return print

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
class Idiot(object):
def marazm(self):
x=100
def make_me_stupid():
y = x
y = y+1
return y
print x
x = make_me_stupid()
print x
idiot = Idiot()
idiot.marazm()
>c:\Python25\python.exe -u "D:\PROJECTS\OMPD\source\_dig.py"
100
101
>Exit code: 0 Time: 0.204