#recursion: Calling a function inside the same function

def rec(n):
    if n<=1:
        return n
    else:
        return rec(n-1)+rec(n-2)

n=10
for i in range(n):
    print(rec(i))
cbb95a3aefa13047e9ebd122308e45c25e8450d8
<mask token>

def rec(n):
    if n <= 1:
        return n
    else:
        return rec(n - 1) + rec(n - 2)


<mask token>

def rec(n):
    if n <= 1:
        return n
    else:
        return rec(n - 1) + rec(n - 2)


<mask token>
for i in range(n):
    print(rec(i))

def rec(n):
    if n <= 1:
        return n
    else:
        return rec(n - 1) + rec(n - 2)


n = 10
for i in range(n):
    print(rec(i))

#recursion: Calling a function inside the same function

def rec(n):
    if n<=1:
        return n
    else:
        return rec(n-1)+rec(n-2)

n=10
for i in range(n):
    print(rec(i))