第二章 Chapter 2

1.取变量的内存地址:id()

2.身份运算

is

x is y,类似id(x)==id(y)

is not

x is not y,类似id(x)!=id(y)

posted on 2018-04-14 17:13  luminous-all  阅读(60)  评论(0)    收藏  举报

导航