<prompt> Write a Python function to print a Fibonacci sequence.  <response>: Here is one way to write a Python function that prints a Fibonacci sequence:pythondef fibonacci_seqn: n is the number of terms in the sequence a, b 0, 1 for i in rangen: printa, end a, b b, a bIn this function, we initialize the values of a and b to 0 and 1, which are the first two terms in the Fibonacci sequence. Then, we iterate n times using a for loop. In each iteration, we print the current value of a and update the values of a and b using Pythons tuple unpacking feature. 