Python学习笔记
学习python过程中,记录点点滴滴。
bobin1997
这个作者很懒,什么都没留下…
展开
-
Python学习笔记--笔记目录
Python学习笔记Python学习笔记一(常用函数)abs,max,minPython学习笔记一(常用函数)Python中常用的函数举例。abs,max,minabs(-1)1max(5,100,3,7)100min(5,100,3,7)3...原创 2019-09-13 13:43:59 · 285 阅读 · 0 评论 -
Python学习笔记(常用函数int,float,bool,byte)
常用函数int,float,bool,byteint(100)100float(100.1)100.1bool(100)Truebool(-1)Truebool(100>100)Falsebytes(‘hello’, encoding=‘utf-8’)b’hello’原创 2019-09-13 13:59:18 · 332 阅读 · 0 评论 -
Python学习笔记(常用函数str)
常用函数strstr(s1)Traceback (most recent call last):File “”, line 1, in NameError: name ‘s1’ is not definedstr(100)‘100’原创 2019-09-13 14:02:39 · 260 阅读 · 0 评论 -
Python学习笔记(常用函数bin,ord,chr,oct,hex)
常用函数ascii,bin,ord,chr,oct,hexbin(8)‘0b1000’ord(‘b’)98chr(98) #参数类型为整数‘b’oct(10)‘0o12’hex(15)‘0xf’原创 2019-09-13 14:09:51 · 610 阅读 · 0 评论 -
Python学习笔记(常用函数abs,max,min)
常用函数abs,max,minabs(-1)1max(5,100,3,7)100min(5,100,3,7)3原创 2019-09-13 14:28:19 · 681 阅读 · 0 评论