Im looking for a way for a user to enter a variable and it recalls the lists information from a specific spot in the list
list = ["0","2","4","8"]
a = input("Enter the list entry you want to retrieve: ")
print (list[a])
if you enter 1 it will print 2, if you enter 2 it will print 4