Try this code in your browser: click here
https://tinyurl.com/5cud7uzd
Lists are the workhorse data structure in Python. In this video, I show you how to create basic lists by simply listing their elements, and also introduce the empty list, that's refreshingly minimalist (and very useful as a starting point). Python lists are similar to arrays in other languages, but they are much more flexible. For more information on lists and to try out the code, click on the link above - a notebook will open in your browser, no need to install Python on your machine.
Embedded video, also part of the following courses:
Computer Programming at Queen Mary, University of London
FREE Colab notebook: https://tinyurl.com/3xjmpf94
Coding for Scientists at Queen Mary, University of London
FREE Colab notebook: https://tinyurl.com/yedumefr