python 实现斐波那契数列
# 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)
posted on 2018-05-23 21:49 blueslichanghui 阅读(114) 评论(0) 编辑 收藏 举报