Python学习笔记
学习python过程中,记录点点滴滴。
bobin1997
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python学习笔记--笔记目录
Python学习笔记Python学习笔记一(常用函数)abs,max,min Python学习笔记一(常用函数) Python中常用的函数举例。 abs,max,min abs(-1) 1 max(5,100,3,7) 100 min(5,100,3,7) 3 ...原创 2019-09-13 13:43:59 · 351 阅读 · 0 评论 -
Python学习笔记(常用函数int,float,bool,byte)
常用函数int,float,bool,byte int(100) 100 float(100.1) 100.1 bool(100) True bool(-1) True bool(100>100) False bytes(‘hello’, encoding=‘utf-8’) b’hello’原创 2019-09-13 13:59:18 · 410 阅读 · 0 评论 -
Python学习笔记(常用函数str)
常用函数str str(s1) Traceback (most recent call last): File “”, line 1, in NameError: name ‘s1’ is not defined str(100) ‘100’原创 2019-09-13 14:02:39 · 352 阅读 · 0 评论 -
Python学习笔记(常用函数bin,ord,chr,oct,hex)
常用函数ascii,bin,ord,chr,oct,hex bin(8) ‘0b1000’ ord(‘b’) 98 chr(98) #参数类型为整数 ‘b’ oct(10) ‘0o12’ hex(15) ‘0xf’原创 2019-09-13 14:09:51 · 692 阅读 · 0 评论 -
Python学习笔记(常用函数abs,max,min)
常用函数abs,max,min abs(-1) 1 max(5,100,3,7) 100 min(5,100,3,7) 3原创 2019-09-13 14:28:19 · 771 阅读 · 0 评论
分享