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