my_list = [10, 20, 30, 40, 50] for index, item in enumerate(my_list): print(index, item)