AT
Size: a a a
AT
AT
from operator import add, sub, mul, floordiv
plus, minus, times, divided_by = (\
lambda x: lambda y: op(y, x) for op in (
add, sub, mul, floordiv
))
zero, one, two, three, four,\
five, six, seven, eight, nine =\
((lambda x: lambda y=None:\
x if y is None else y(x))(i)\
for i in range(10))
print(five(times(nine())))
print(eight(divided_by(three())))Р
AT
ПЯ
AT
P
Р
P
Р
ПЯ
from operator import add
def one():
return 1
def two():
return 2
def plus(a,b):
return add(a,b)
print(one(plus(two())))
ПЯ
Р
from operator import add
def one():
return 1
def two():
return 2
def plus(a,b):
return add(a,b)
print(one(plus(two())))
ПЯ
ПЯ
Р
from operator import add
def one():
return 1
def two():
return 2
def plus(a,b):
return add(a,b)
print(one(plus(two())))
БГ
Р