fork download
  1. l=[]
  2. for i in range(5):
  3. l.append(lambda x, i=i:x+i)
  4. for f in l:
  5. print(f(10))# your code goes here
Success #stdin #stdout 0.02s 9268KB
stdin
Standard input is empty
stdout
10
11
12
13
14