input: from typing import List
  
  
  def print_fibonacci_series(n: int) -> List[int]:
      """ Print Fibonacci series up to a given number.
      >>> print_fibonacci_series(5)
      [0, 1, 1, 2, 3]
      >>> print_fibonacci_series(0)
      [0]
      >>> print_fibonacci_series(1)
      [0, 1]
      >>> print_fibonacci_series(-1)
      []
      """
output:     if n < 0:
          return []
      if n == 0:
          return [0]
      if n == 1:
          return [0, 1]
      
      fib_series = [0, 1]
      while len(fib_series) <= n:
          fib_series.append(fib_series[-1] + fib_series[-2])
      
      return fib_series[:n+1]