Answers for "how to get index of a variable in a list python"

1

how to get something from a certian possition in a list python

lst = [1,2,3]
print(lst[1]) # will print 2
Posted by: Guest on January-17-2021

Code answers related to "how to get index of a variable in a list python"

Python Answers by Framework

Browse Popular Code Answers by Language