I have some nested list whose items can be accessed normally with:
list[0][2]
However, when I try to use a variable instead:
uinput = input("Number: )
list[uinput][2]
I get the error:
TypeError: list indices must be integers or slices, not str
(I have tried it with a dictionary using the same format and it threw the same error)