November 2017
Beginner to intermediate
204 pages
5h 23m
English
In order to make effective programs, you will need to store values that you can access and modify across multiple lines of code. In Python, you can store a value using a variable. A variable is a sequence of characters that is made to represent some value in the program. To create a variable, you can use the assignment (=) operator. The assignment operator takes the value to the right and assigns it to the variable name on the left. The following statements will create a variable called myVariable and print it out:
>> myVariable = 1>> print(myVariable)
Read now
Unlock full access