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