list [-2] in python code example
Example 1: how to make a python list
listName = [1,2,3,4]
Example 2: creating a list in python
myList = [value,value,value] #note that you can use any amount of value
#you don not have to use value
Example 3: get an item out of a list python
#to get the LAST item out of a list:
things = ["apple", "book", 3, ["another list", 85], "orange"]
last = things.pop()
print(last)
#it should output "orange"