l=[]for i in range(5): l.append(lambda x, i=i:x+i)for f in l: print(f(10))# your code goes here
Standard input is empty
10 11 12 13 14
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!