主页
Python
Python 恒等运算符
demo_oper_identity_example
运行 ❯
×
更改方向
保存代码
更改主题
x = ["apple", "banana"] y = ["apple", "banana"] z = x print(x is z) print(x is y) print(x == y)
True
False
True