Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created January 20, 2020 02:04
Show Gist options
  • Select an option

  • Save BetterProgramming/5d48eb8af7360dab8fb4754a8c003e89 to your computer and use it in GitHub Desktop.

Select an option

Save BetterProgramming/5d48eb8af7360dab8fb4754a8c003e89 to your computer and use it in GitHub Desktop.
scores = [54,67,48,99,27]
for i, score in enumerate(scores, 1):
print(i, score)
"""
1 54
2 67
3 48
4 99
5 27
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment