会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
逆欢
博客园
首页
新随笔
联系
订阅
管理
2018年8月2日
is ==的区别 编码和解码
摘要: 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)
编辑
公告