# 20. Generate Fibonacci series of N terms using function.
def fibo(N):
    i,j=0,1
    print('Fibonacci sequence: ',end='')
    for k in range(n):
        j,i = i,j+i
        print(j,end=' ')

n = int(input('How many terms? '))
fibo(n)
c83e129e54f8041d21803ba6216a050eca30bfde
<mask token>

def fibo(N):
    i, j = 0, 1
    print('Fibonacci sequence: ', end='')
    for k in range(n):
        j, i = i, j + i
        print(j, end=' ')


<mask token>

def fibo(N):
    i, j = 0, 1
    print('Fibonacci sequence: ', end='')
    for k in range(n):
        j, i = i, j + i
        print(j, end=' ')


<mask token>
fibo(n)

def fibo(N):
    i, j = 0, 1
    print('Fibonacci sequence: ', end='')
    for k in range(n):
        j, i = i, j + i
        print(j, end=' ')


n = int(input('How many terms? '))
fibo(n)

# 20. Generate Fibonacci series of N terms using function.
def fibo(N):
    i,j=0,1
    print('Fibonacci sequence: ',end='')
    for k in range(n):
        j,i = i,j+i
        print(j,end=' ')

n = int(input('How many terms? '))
fibo(n)