python 斐波拉契数列数列

'''斐波拉契数列'''
def Fibonacci(n):
  first, next = 0, 1
  i = 0;
  while i < n:
    print next
    first, next = next, first + next
    i = i + 1

上一篇:深度学习入门之Mnist


下一篇:【LeetCode题解】141_环形链表