Lists
Let's look at the list data type in more detail.
We'll cover the following...
We'll cover the following...
Definition
A list is a sequence of values enclosed in square brackets. It is extremely versatile as you can store multiple items of different data types inside of it. A list can also be treated as if it were an array.
Indexing
Lists are also zero-indexed, meaning the first item in the list is assigned an index of 0.
Therefore, if for example, a list called my_list ...