Tuesday, August 3, 2010

Python - get index in the list

To get the index of the element in the list:

list.index(element)

No comments:

Post a Comment