Python index() List Method - TUTORIAL

preview_player
Показать описание
Python tutorial on the .index() list method. Learn how to find the index of values in lists in Python.

This video is part of the new List Methods series!

💻 Python List Methods Course Playlist:

📖 Please check out my Udemy course here:

🐍 Python Docs:
Рекомендации по теме
Комментарии
Автор

Thank you! This has saved me a bunch of code lines. ❤

camillecrisostomo-rubia
Автор

Life saver^_^....gonna rock my exam ig

kaumudiraj
Автор

thank you so much! it really helped me

JustForFunKOReviews
Автор

Please can you do a video on how to create an index page of a book using python. Mostly with word frequency

lifeaids
Автор

How to calculate the sum of numbers up until the index point, recursion

athidlambulo
Автор

You made very good content i subscribe your channel

abhisheknagar
Автор

Good tutorial as far as it goes. But I’m having trouble understanding the usefulness of finding the index for a given term. That is, why would you be looking for a particular index number of a list if you didn’t already know the element that would be found at that index position? Who cares?
(This might presuppose that you knew in advance at which index the element was found. So how is that useful?)
It seems to me that once you specified a term and then searched for its index, you would then need to translate the index that was output to that term in order to have the index make any sense or mean something. That would seem to me to be useful. Or what am I missing here?

johntobin