fork download
  1. # your code goes here
  2. def f(n):
  3. return lambda a: a*n
  4. k = f(3)
  5. print(k(10))
Success #stdin #stdout 0.09s 14128KB
stdin
Standard input is empty
stdout
30