装饰器
在原有的函数前后增加功能,且不该用原函数的调用方式
写法
def timmer(fun):
def wapper():
res = fun()
return res
return wapper