主页
Python
Python 恒等运算符
demo_oper_identity_vs_equal
运行 ❯
×
更改方向
保存代码
更改主题
x = [1, 2, 3] y = [1, 2, 3] print(x == y) print(x is y)
True
False