def g(*args):
return sum([f() if callable(f) else f for f in args])
x = g(lambda: 1, lambda: 2, 3, 4)
print(x)
Post #2346
1.22K
Что выведет код?