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