会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
把错误挂在墙上
博客园
首页
新随笔
联系
管理
订阅
2019年5月12日
斐波那契数列的存储与统计
摘要: #斐波那契数列(F(N-1)/F(N)->0.618) & F(N)=F(N-2)+F(N-1) class Fibonacci: def __init__(self, n): self.__count = n def __iter__(self): return FiboIterator(self
阅读全文
posted @ 2019-05-12 16:51 把错误挂在墙上
阅读(249)
评论(0)
推荐(0)
公告