Quiz Catalog

Catalog of quizzes

print((lambda x : x ** 3)((lambda x : x + 2)(1)))
27
  • function/lambda

def func(n):
  return lambda a : a * n

doubler = func(2)

print(type(doubler))
<class 'function'>
  • function/lambda
  • build-in/type

print(lambda: True)
True
  • function/lambda