面试会问而且经常忘记

1.pyhon中 == 和 is 的区别

== 是判断值是否相等
is 是判断地址是否相等

猜你喜欢

转载自www.cnblogs.com/potatogavin/p/11110872.html