Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 29th, 2013  |  syntax: None  |  size: 0.12 KB  |  views: 118  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. >>> def j(k, f=[]):
  2. ...     f.append(k)
  3. ...     return f
  4. ...
  5. >>> j(1)
  6. [1]
  7. >>> j(1)
  8. [1, 1]
  9. >>> j(1)
  10. [1, 1, 1]
  11. >>>