Having used your first print statement, we will now look at variables and data types, which are fundamental programming concepts. Understanding variables: when we write code, we often use the same values over and over. Variables let us store these values under descriptive names, which makes the code easier to read and modify. Rather than typing the same information several times, we assign it a name and use that name whenever needed. Variables thus work like labelled containers. In the same way that we can label a container «"
The rest of this lesson is reserved for subscribers Create your free account to try the sample exercises, then upgrade to full access whenever you like.