python print an item from a list code example
Example 1: python get element by index
# To return the index of the first occurence of element x in lst
ind = lst.index(x)
Example 2: print all objects in list python
for p in myList:
print p
# To return the index of the first occurence of element x in lst
ind = lst.index(x)
for p in myList:
print p