Lists

In this lesson, we will learn about lists (also called arrays) in python. A list is a datatype. A list can contain multiple elements. Each element can be any data type including a list. The elements are separated by commas in between square brackets: items = [“bread”, “chicken”, “eggs”]price = [2, 5.34, 0.45] Try printing […]