目录
1.import time #调⽤time模块
2.import random #调⽤random随机数模块
3. type(参数)函数:查询参数的类型
4. print()函数
5. round()函数:
6. input()函数:
7. append()函数
8.len()函数
9. 元组
10. pop()函数:
11. extend()函数:
12. Python的三种排序⽅式sort()函数
13. reverse()函数:
14.range()函数
15. bool()函数:
16.连接语句and,or,not,in,not in
17. 代码规范:格式化字符串
18. format()函数
19. join()函数
20. index()函数
21. try语法:
22. return语句
23. ⾃定义函数:
24. 读写⽂件格式规范:
25. readlines()函数:
26. writelines()函数:
27. split()函数:
28. join()函数:
29. dir()函数
30. csv模块中常⽤的类⽅法
1.import time #调⽤time模块
2.import random #调⽤random随机数模块
3. type(参数)函数:查询参数的类型
4. print()函数
5. round()函数:
7. append()函数
8.len()函数
9. 元组
10. pop()函数:
11. extend()函数:
12. Python的三种排序⽅式sort()函数
13. reverse()函数:
14.range()函数
15. bool()函数:
16.连接语句and,or,not,in,not in
17. 代码规范:格式化字符串
19. join()函数
20. index()函数
21. try语法:
22. return语句
23. ⾃定义函数:
24. 读写⽂件格式规范:
25. readlines()函数:
26. writelines()函数:
27. split()函数:
28. join()函数:
29. dir()函数
30. csv模块中常⽤的类⽅法