Guest User

Untitled

a guest
Jan 24th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. function_list = []
  2. for i in range(10):
  3. function_list.append(lambda x: myfunc(i,x))
  4.  
  5. def myfunc(a,b):
  6. print a + b
Add Comment
Please, Sign In to add comment