input: def fibonacci(n: int) -> List[int]:
      """Print Fibonacci series up to a given number.
      >>> fibonacci(0)
      []
      >>> fibonacci(1)
      [0]
      >>> fibonacci(5)
      [0, 1, 1, 2, 3]
      """
      if n < 0: 
          return []
      elif n == 0: 
          return []
      elif n == 1: 
          return [0]
      else:
          fib_series = [0, 1]
          for i in range(2, n):
              fib_series.append(fib_series[-1] + fib_series[-2])
          return fib_series
output:     if n < 0: 
          return []
      elif n == 0: 
          return []
      elif n == 1: 
          return [0]
      else:
          fib_series = [0, 1]
          for i in range(2, n):
              fib_series.append(fib_series[-1] + fib_series[-2])
          return fib_series