1.1 Starting with Python interactively

1.1.2 Python lists

This might seem like a lot at first. Luckily, after some more practising, all of this becomes quite obvious and repetitive.

And there is more. We need to also learn one further important concept in Python. With so-called lists, you can collect several elements in the same variable. This is immensely useful, as we will see later.

We can store numbers in them:
An Example of a number list

Or strings:
An Example of a string list

We can sum the elements of a list (add them together) or name each entry using so-called dictionaries.
In this second notebook in Google Colab, we will practice and give some examples and how to use lists.

Check to see if you understand the concept of lists: