Python minimal core: variables

0. Variable

First of all, we must understand the true meaning of variables :

In Python, the variable is the object of reference . The assignment operation is to create a reference to an object.
In Python, variables are references to objects and any variable can reference any object.

1. Variable naming

The most basic variable naming rules will not be discussed here.

Guess you like

Origin blog.csdn.net/Robin_Pi/article/details/112525801