
Introduction to Lists (cont’d.)
• Hereisastatementthatcreatesalistofintegers:
even_numbers = [2, 4, 6, 8, 10]
• Thefollowingisanotherexample:
names = ['Molly', 'Steven', 'Will', 'Alicia', 'Adriana']
• Alistcanholditemsofdifferenttypes,asshowninthefollowing
example:
info = ['Alicia', 27, 1550.87]
5