面试题

    1. 给你一个a = {‘list’:aa,’apple’:12} ,给他排序
    2. 一行代码写出 0-100的和

    print(sum( i for _i _in range(1,101)))
    python中不懂得地方,
    1、闭包
    2、装饰器
    3、偏函数
    4、生成器
    5、@property
    6、文档注释

    Python 中的类,
    类的实例化对象
    class TestCase(): 这个函数就是初始化函数,里面会有所有的变量 def init() 构造函数
    Python 中农工的对象:
    raise