Fibonacci
Generates a list, containing the Fibonacci sequence, up until the nth term.
- Starting with
0and1, uselist.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. - If
nis less or equal to0, return a list containing0.