 Construire un algorithme pour générer la suite de Fibonacci.
def generate_fibonacci_sequence(n): \na = 0 \nb = 1\n if n < 0: \n print("Incorrect input") \n elif n == 0: \n return a \n elif n == 1: \n return b \n else : \n for i in range(2,n): \nc = a + b \na = b \nb = c \n return b \n \n# Driver Program \n \nprint( generate_fibonacci_sequence(9))