python is, ==区别 “is” is the identity comparison. #比较引用是否相同 “==” is the equality comparison. #比较内容是否相同 >>> [] is [] False >>> [] == [] True