摘要: 1.n=0 n1=0 print(n==n1) ==>true == 是比较两边的值 2.a="alex " b="alex" print(a==b)==> true is是比较内存地址 3.a ='alex' print (id(a)) # 36942544 内存地址 #小数据库 -5--256 阅读全文
posted @ 2018-08-02 19:40 逆欢 阅读(179) 评论(0) 推荐(0) 编辑