pastebin

Paste Search Dynamic
Recent pastes
multipliers
  1. def multipliers(): return [lambda x:i * x for i in range(4)]
  2.  
  3. print [m(2) for m in multipliers()]
Parsed in 0.003 seconds