To find the index of a list element in Python, use the index() method of a list. For example, names.index("Bob") returns the index of "Bob".
確定! 回上一頁