1. is == 总结 is 是比较两个引用是否指向了同一个对象(引用比较). == 是比较两个对象是否相等. In [1]: a = [11,22,33] In [2]: b = [11,22,33] In [3]: a == b Out[3]: True In [4]: a is b Out[4]: False In [5]: id(a) Out[5]: 140715444902984 In [6]: id(b) Out[6]: 140715444891912 In [7]: a Out[7…