[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数
转化为10进制
回忆上次内容
函数名 |
对应单词 |
进制类型 |
数字事例 |
前缀 |
bin() |
binary |
2 |
0b1100001 |
0b |
oct() |
octal |
8 |
0o141 |
0o |
hex() |
hexadecimal |
16 |
0x61 |
0x |
? |
decimal |
10 |
97 |
无 |
转回
10进制
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第1张图片](http://img.e-com-net.com/image/info8/b0f2a5b715144d39a36e8e2c9752a5a1.jpg)
int 函数
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第2张图片](http://img.e-com-net.com/image/info8/46e743ec3fb54a499654a6b09bf51d39.jpg)
int(“011”)
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第3张图片](http://img.e-com-net.com/image/info8/bd5f20eaada24992b3eeb7be1b0b2556.jpg)
base=2
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第4张图片](http://img.e-com-net.com/image/info8/8d23486d9527472792a6f7653a4c995a.jpg)
特殊 基数
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第5张图片](http://img.e-com-net.com/image/info8/f0226c075b9d49ea9ec6453ff1a7fe05.jpg)
integer(整型)
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第6张图片](http://img.e-com-net.com/image/info8/700596d1cfd64c2a801daef72a82e73b.jpg)
integral
- integral [ˈɪntɪɡrəl]
- 完整的; 不可或缺的; 必需的; 作为组成部分的; 完备的;
- integral calculus 积分运算
- integrality
- integrant
- integrate
- 整合
- 集成电路芯片 ICC
- Integrated Circuit Chip
- 把分立件集成到一块电路板上
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第7张图片](http://img.e-com-net.com/image/info8/9b00b225e5bf4ec280a2b8b33025e0c7.jpg)
integrate
-
reintegrate
-
integration
-
disintegrate
- 分解; 瓦解; 解体; 碎裂; 分裂; 崩溃; 衰微
-
disintegration
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第8张图片](http://img.e-com-net.com/image/info8/edc7fef6f53e4932b8421c89d277e856.jpg)
- integrity
- 发音不断变化
- integrate 和 entire 也是 同源的
entire
- entire [enˈtair]
- 完整的
- entire wheat flour 全麦粉
- entirely
- entirety
![[oeasy]python0045_转化为10进制数_int_integrate_integer_entire_整数_第9张图片](http://img.e-com-net.com/image/info8/d35c8bebd84e42d7b42a864035e5d9ac.jpg)
- 仔细想想 这些单词 其实是一个
- 只是 不同口音
- 落实到 拼音字母就成了 不同的单词
- 不禁 感谢我们的象形文字
- 虽然 符号数量 比英文多得多
- 但是 原始含义 很清晰
- int函数 还有取整的意思
总结
- 这次 把其他进制
- int 来自于 integer
完整
的 和 零散
的
- 可以把
零散
的小数
- 我们下次再说!
- 蓝桥->https://www.lanqiao.cn/courses/3584
- github->https://github.com/overmind1980/oeasy-python-tutorial
- gitee->https://gitee.com/overmind1980/oeasypython
- 视频->https://www.bilibili.com/video/BV1CU4y1Z7gQ 作者:oeasy