[Python] What are variables?

String values in variables


The variable name, value and assignment operator(=) are the three things requeired to store values in a variable.


myVar = 60 


Here, myVar is the variable name and it is assigned a value of 60 using the assignment operator(=).


So, myVar is a variable with the value 60.


댓글