Python中,如何查看变量在内存中的地址?
>>> id(variable_name)
example:
>>> name = "Linda"
>>>print( id(name) )
# id(x)得到x变量的内存地址(10进制)