Hulu experiments may use Fibonacci-sized batches when generating sample positions for a recommendation surface. Given a nonnegative integer n, return the first n values of the Fibonacci sequence, starting with 0 and 1.
The sequence is defined as F(0) = 0, F(1) = 1, and F(k) = F(k - 1) + F(k - 2) for k >= 2.
Implement fibonacci_sequence(n), where:
n is an integer representing the number of values to return.n Fibonacci values.n is 0.Python integers may grow beyond fixed-width limits, so return the exact values generated by Python integer arithmetic.
def fibonacci_sequence(n):