主页
Python
Python id() 函数
demo_ref_id
运行 ❯
×
更改方向
保存代码
更改主题
x = ('apple', 'banana', 'cherry') y = id(x) print(y) # This value is the memory address of the object and will be different every time you run the program