You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-basics-2022/08_python/definition/cl_defo.py

18 lines
256 B

class A:
pass
class C:
a, b = 1, 1
for i in range(15):
a, b = b, a + b
print(a)
f = lambda self, a: a
g = lambda self, a: self.f(a)
def __init__(self, x, y):
print(self)
self.x = x
self.y = y