1. 函数里面有函数
    2. 内函数一定用到了外函数的变量
    3. 外函数的返回值是内涵数
      1. def price(unitPrice):
      2. def computer(weight):
      3. return (weight-0.1)*unitPrice
      4. return computer
      5. apple=price(3)
      6. print(apple(10.1))
      7. >>30