Variables in Python: storing results in the memory (the basics)

Опубликовано: 26 Май 2026
на канале: PatchyPython
108
0

Try this code in your browser (no installation required):
https://tinyurl.com/23s4zt74

Variables are what allows you to store results in the memory of your computer, and remember them from one calculation to the next. In this video I show you how to define variables and use them to store and retrieve values; I also explain some basic naming conventions and show you how to add comments in plain English to your code. For more information, click on the link above (no account or installation required)

Also part of the following courses:
Computer Programming at Queen Mary, University of London
Google Colab notebook: https://tinyurl.com/nzbu5k4c
Coding for Scientists at Queen Mary, University of London
Google Colab notebook: https://tinyurl.com/nb7299uc