Skip to content

Instantly share code, notes, and snippets.

@plathrop
Created March 4, 2013 23:22
Show Gist options
  • Save plathrop/5086608 to your computer and use it in GitHub Desktop.
Save plathrop/5086608 to your computer and use it in GitHub Desktop.
In [10]: [foo for foo in xrange(10)]
Out[10]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
In [11]: foo
Out[11]: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment