user
Create a program to print the Fibonacci sequence up to the nth term.
assistant

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