Python How to Access Index in For Loop

preview_player
Показать описание
Loop through list with both content and index
Python How to Access Index of List or Array in For Loop
mylist = [6,8,2,5]
for index, value in enumerate(mylist):
print(index, value)

Please Like this Page to get Latest Python, Machine Learning and Artificial intelligence Tutorials
Рекомендации по теме
join shbcf.ru