To find an element in a list, Python has the built-in list method index() . You can use it to search for an element and return the index of the element.
確定! 回上一頁