How Python store variables without pointer to memory address ?
As we all know, Python uses a dictionary to store the names of variables. And the stored type is object. It is a map.
varnames['varname'] = object
And objects are divided into mutable and immutable ones.
Let us look the following cases.
网友评论