会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dbaplus
博客园
首页
新随笔
联系
订阅
管理
2016年6月7日
python 基础数据类型
摘要: int、str、list、tuple、dict 1、int a. bit_length 返回表示该数字的时占用的最少位数 b. __abs__ 返回绝对值 >>> a = -10>>> a.__abs__()10>>> abs(-10)10 c. __add__ 加 d. __divmod__ 打印
阅读全文
posted @ 2016-06-07 15:24 saup007
阅读(220)
评论(0)
推荐(0)
公告