# -*- coding: utf-8 -*-
"""
Created on Sun Oct 14 16:23:06 2018

@author: Administrator
"""

def fibs(n):
    result = [0, 1]
    for i in range(n-2):
        result.append(result[-2] + result[-1])
    return result

lst = fibs(10)
print(lst)
846bc21c7ca7250a884f9fc9d0410a119c0d0b04
<mask token>

<mask token>


def fibs(n):
    result = [0, 1]
    for i in range(n - 2):
        result.append(result[-2] + result[-1])
    return result


<mask token>

<mask token>


def fibs(n):
    result = [0, 1]
    for i in range(n - 2):
        result.append(result[-2] + result[-1])
    return result


<mask token>
print(lst)

<mask token>


def fibs(n):
    result = [0, 1]
    for i in range(n - 2):
        result.append(result[-2] + result[-1])
    return result


lst = fibs(10)
print(lst)

# -*- coding: utf-8 -*-
"""
Created on Sun Oct 14 16:23:06 2018

@author: Administrator
"""

def fibs(n):
    result = [0, 1]
    for i in range(n-2):
        result.append(result[-2] + result[-1])
    return result

lst = fibs(10)
print(lst)