Most often used are:
firstList = [0.12, 23.4, 12.5] # three elements # of type floating-point secondList = ["New York", "Amsterdam"] # two elements # of type string thirdList = [3, 5, 7, 9] # four elements # of type integer
The thirdList
can also be created
with the range function:
thirdList=range(3,10,2) # the list [3, 5, 7, 9]