Skip to content

Instantly share code, notes, and snippets.

@peroon
Created March 29, 2017 08:51
Show Gist options
  • Select an option

  • Save peroon/fecef48d78406d40faa6c6e384b8acfc to your computer and use it in GitHub Desktop.

Select an option

Save peroon/fecef48d78406d40faa6c6e384b8acfc to your computer and use it in GitHub Desktop.
l = ['a', 'b', 'c']
for i, c in enumerate(l, start=1):
print(i, c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment