get string of position in list python code example
Example 1: how to get something from a certian possition in a list python
lst = [1,2,3]
print(lst[1]) # will print 2
Example 2: how to find the position in a list python
lst = [4, 6, 5]
lst.index(6) # will return 1