Source Code:
(back to article)
my_list = ['firstValue', 'secondValue', 'thirdValue'] for i, value in enumerate(my_list): print(i, value)
Result:
Report an issue