Skip to content
Snippets Groups Projects
Commit 14c4b253 authored by Ulrich Kerzel's avatar Ulrich Kerzel
Browse files

undo change to docstring

parent 1b9d014f
No related branches found
No related tags found
No related merge requests found
def compute_Fibonacci(n_numbers: int) -> list:
"""Small function to compute Fibonacci numbers
Args:
n_numbers (int): Amount of Fibonacci numbers to be returned
Returns:
list: List of n_numbers Fibonacci numbers
"""
##
## Small function to compute Fibonacci numbers
##
def compute_Fibonacci(n_numbers):
return_list = [0, 1]
for i in range(2,n_numbers,1):
Fib = return_list[i-1] + return_list[i-2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment