DeltaV control applications may use generated numeric sequences for simulation and testing. Given a non-negative integer n, return the first n terms of the Fibonacci sequence, where the sequence begins with 0, 1 and each later term is the sum of the previous two terms.
Implement fibonacci(n):
n, representing the number of Fibonacci terms to generate.n integers in Fibonacci order.n = 0, return an empty list.def fibonacci(n):