Skip to content

Instantly share code, notes, and snippets.

@theevocater
Created April 10, 2013 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theevocater/5358997 to your computer and use it in GitHub Desktop.
Save theevocater/5358997 to your computer and use it in GitHub Desktop.
Python Random Scoping
>>> x = [1,2,3,4,5]
>>> for i in x:
... print i
...
1
2
3
4
5
>>> print i
5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment