例如
def pv_f(fv,r,n):
return fv*(1+r)**n
def pv_perpetuity(c,r):
return c/r
点击File|New Window
点击File|Save
命名为fin.py
使用命令 from fin import *
就可以调用了
例如
def pv_f(fv,r,n):
return fv*(1+r)**n
def pv_perpetuity(c,r):
return c/r
点击File|New Window
点击File|Save
命名为fin.py
使用命令 from fin import *
就可以调用了
转载于:https://www.cnblogs.com/GY-Zhu/p/9724842.html