list.index(element)

Read more of this post