Skip to content

Instantly share code, notes, and snippets.

@KunihikoKido
Created August 1, 2013 13:44
Show Gist options
  • Save KunihikoKido/6131468 to your computer and use it in GitHub Desktop.
Save KunihikoKido/6131468 to your computer and use it in GitHub Desktop.
python for enumerate example
for i, v in enumerate(['a', 'b', 'c']):
print i, v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment