Question from the Python test

Write a Python function that returns a list of the first n numbers of the Fibonacci sequence.