list = [1, 2, 3] for index, height in enumerate(list): print('index' + str(index) + ": " + str(height)) # use index + 1 if you don't want to start with "0"
list = [1, 2, 3] for index, height in enumerate(list): print('index' + str(index) + ": " + str(height)) # use index + 1 if you don't want to start with "0"