NS = range(4)Fun = lambda a: a ** 3 result = [Fun(x) for x in NS] print(result)
Standard input is empty
[0, 1, 8, 27]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!