# coding:utf8 __author__ = 'bluesli' def fun(arg1,arg2,stop): if arg1==0: print(arg1,arg2) arg3 = arg1+arg2 print(arg3) if arg3<stop: arg3 = fun(arg2,arg3,stop) fun(0,1,100)
转载于:https://www.cnblogs.com/bluesl/p/9079705.html
# coding:utf8 __author__ = 'bluesli' def fun(arg1,arg2,stop): if arg1==0: print(arg1,arg2) arg3 = arg1+arg2 print(arg3) if arg3<stop: arg3 = fun(arg2,arg3,stop) fun(0,1,100)
转载于:https://www.cnblogs.com/bluesl/p/9079705.html