How to Find the Index of a Python List Item?

preview_player
Показать описание
Python lists mimic real-life lists, such as shopping lists. Some times it's important to know at what point in your list an element is. We can use the list index function to tell us where an element is located, or let us know if the element does not exist in our list.
Рекомендации по теме
Комментарии
Автор

I get the output but seeing the code you wrote and the function would be much more helpful. thanks for the video anyway.

nzwakeledube
Автор

How to find index of second last element in a list
It's -2 okey. But how to find it

jibibabu