python小笔记-身份运算符(is,not is)

is

(判断两个标识符是不是引用同一个对象)

is not

(判断两个标识符是不是引用不同一个对象)

猜你喜欢

转载自blog.csdn.net/qq_42326585/article/details/81271405
今日推荐