input: Write a function to print the Fibonacci series up to a given number n. If n is less than 0, print "Incorrect input". Otherwise, print the sequence. The function should have the following signature: def fibonacci(n).
  assert fibonacci(5) == [0, 1, 1, 2, 3]
  assert fibonacci(0) == [0]
  assert fibonacci(-1) == "Incorrect input"
  assert fibonacci(10) == [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
  assert fibonacci(1) == [0, 1]
output: def fibonacci(n):
      if n < 0:
          return "Incorrect input"
      elif n == 0:
          return [0]
      elif n == 1:
          return [0, 1]
      else:
          fib_seq = [0, 1]
          for i in range(2, n + 1):
              fib_seq.append(fib_seq[-1] + fib_seq[-2])
          return fib_seq