Variables and data types Python allows you to perform simple calculations as well as more complex operations. To make these calculations easier and to reuse results within a program, it is useful to store values in variables. Data types then make it possible to determine the nature of the values being handled.Variable A variable makes it possible to store a value under a specific name so that it can be reused in a program. Variable names are case-sensitive, which means that uppercase and lowercase letters are considered different. To create a variable, simply use the equal sign (=) to assign it a value.For example, to
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.