fork download
  1. ns = range(4)
  2. Fun = lambda a: a ** 3
  3. result = [Fun(x) for x in ns]
  4.  
  5. print(result)
Success #stdin #stdout 0.04s 9636KB
stdin
Standard input is empty
stdout
[0, 1, 8, 27]