__author__ = 'Raja Ramanathan' | |
seq = ['Grapes','Apple','Oranges'] | |
for index,item in enumerate(seq): | |
print index,item | |
#prints 0 Grapes | |
#prints 1 Apple | |
#prints 2 Oranges |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment