Skip to content

Instantly share code, notes, and snippets.

@ehermes
Created June 2, 2015 18:49
Show Gist options
  • Select an option

  • Save ehermes/6773c628c61cf9c8a14f to your computer and use it in GitHub Desktop.

Select an option

Save ehermes/6773c628c61cf9c8a14f to your computer and use it in GitHub Desktop.
foo = [0, 1, 2]
for n in foo:
n += 1
print foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment