会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Assange
博客园
首页
新随笔
联系
管理
订阅
2019年11月28日
斐波那契数列(python)
摘要: 题目描述 大家都知道斐波那契数列,现在要求输入一个整数n,请你输出斐波那契数列的第n项(从0开始,第0项为0)。 n<=39 # -*- coding:utf-8 -*- class Solution: def Fibonacci(self, n): # write code here if n =
阅读全文
posted @ 2019-11-28 09:31 Assange
阅读(189)
评论(0)
推荐(0)
编辑
公告