# fibonacci series
# 0 1 1 2 3 5 8    # first 2 term is fixed

def fibonacci_seq(n):
    a = 0
    b = 1
    for i in range(0,n):
        print(a, end = " ")
        next_term = a+b
        a = b
        b = next_term

num = int(input("enter the value of n : "))
fibonacci_seq(num)

159f7fcb8ba3a8fed1966831c269939fc1b0a987
<mask token>

def fibonacci_seq(n):
    a = 0
    b = 1
    for i in range(0, n):
        print(a, end=' ')
        next_term = a + b
        a = b
        b = next_term


<mask token>

def fibonacci_seq(n):
    a = 0
    b = 1
    for i in range(0, n):
        print(a, end=' ')
        next_term = a + b
        a = b
        b = next_term


<mask token>
fibonacci_seq(num)

def fibonacci_seq(n):
    a = 0
    b = 1
    for i in range(0, n):
        print(a, end=' ')
        next_term = a + b
        a = b
        b = next_term


num = int(input('enter the value of n : '))
fibonacci_seq(num)

# fibonacci series
# 0 1 1 2 3 5 8    # first 2 term is fixed

def fibonacci_seq(n):
    a = 0
    b = 1
    for i in range(0,n):
        print(a, end = " ")
        next_term = a+b
        a = b
        b = next_term

num = int(input("enter the value of n : "))
fibonacci_seq(num)
