Your question is Generate Fibonacci Sequence. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Generate the Fibonacci sequence.
Implement generate_fibonacci(n) to return the first n terms, starting with 0, 1. The input is a nonnegative integer, and the output must be a list of integers. Return an empty list when n is zero.
def generate_fibonacci(n):