filmov
tv
Python How to Find the index of an item in a List or Array

Показать описание
Python How to Find the index of an item in a List or Array
mylist = [6,8,2,5]
for index, value in enumerate(mylist):
print(index, value)
mylist = [6,8,2,5]
for index, value in enumerate(mylist):
print(index, value)