K-State applications may need short numeric sequences for demonstrations or test data. Given a nonnegative integer n, generate the first n values of the Fibonacci sequence, beginning with 0, 1.
The Fibonacci sequence is defined as F(0) = 0, F(1) = 1, and F(i) = F(i - 1) + F(i - 2) for i >= 2.
Implement fibonacci_sequence(n).
n, where 0 <= n <= 30.n Fibonacci numbers, from F(0) through F(n - 1).n is 0.def fibonacci_sequence(n):