Home python How to find out the list element index?

How to find out the list element index?

Author

Date

Category

This Python 3.7.7

mylist = ['daria', 'anton', 'vlad', 'kirill']

You need to learn the vlad 'element index. Help please.


Answer 1, Authority 100%

Here’s how to learn the index of the element

mylist.index ("vlad")

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions