Beginning Python

loop_exercise.py
my_numbers = [4.5, 3.7, 8.9, 2.3, 3.14159, 4.0]

for index, value in enumerate(my_numbers):
    print(index, ":", value)
$
python loop_exercise.py
0 : 4.5
1 : 3.7
2 : 8.9
3 : 2.3
4 : 3.14159
5 : 4.0