The program:
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 print firstList print secondList print thirdList
prints:
[0.12, 23.399999999999999, 12.5] ['New York', 'Amsterdam'] [3, 5, 7, 9]