#==是判别是否相等,is是判别是否指向同一个内存地址 a = [1, 2, 3] b = [1, 2, 3] a == b #True a is b #False c = a c is a #True #可以用id(a)存看a所存的单元地址