30 seconds of pythonBack to Home
Generates an array, containing the Fibonacci sequence, up until the nth term.
list.append() to add the sum of the last two numbers of the list to the end of the list, until the length of the list reachesn
is less or equal to0
, return a list containing0`.