python讲解
一、python梳理
 1、python 数据类型有哪些? 字符、列表、元组、字典、集合
 2、列表、元组、字典、集合的区别?
 
 3、python中函数?
 (1)自定义函数 def 函数名()
 (2)python自带函数
 print()、list()、tuple()、dict()、open()、len()、help()、sum()、ads()、str()、int()
 input()、max()、min()、 zip()、format()、char() 、id()、range()、set()
 
 4、常用判断语句?
 (1)if语句
 if单分支、if多分支、if语句嵌套
 (2)while 循环语句
 (3)for 循环语句
 (4)contiue 语句(继续)、break语句 (结束)
 5、python中常见的模块模块导入的方式有哪几种?模块有那些?
(1)
 方法一:import 模块
 方法二: from 路径.模块名 import *
 方法三: from 路径.模块名 import 函数或类
 方法三: from 路径.模块名 import 函数或类 as 别名
 (2)time模块、random模块、os模块、re模块、string模块、json模块、xlrd模块、
 sys模块、hashlib模块
参考链接:
 https://www.cnblogs.com/xiaolehua/protected/p/15778367.html 模块
 https://www.cnblogs.com/xiaolehua/protected/p/15781336.html xlrd 模块
 https://www.cnblogs.com/xiaolehong/p/16724440.html json模块
6、python中如何定义一个类?类的三大属性?
 (1)定义一个类:class 类名()
 (2)封装、多态、继承
7、python中编程题?
 a、斐波那契数列
 b、冒泡排序
 c、递归
 d、九九乘法口诀表
 8、python中面试题?
 a、一个列表如何去重?
 b、如何将字典中的键取出来
 c、深浅拷贝
 d、装饰器
 e、列表和元组区别


















