input: def print_fibonacci_series(n: int):
      """
      Print Fibonacci series up to a given number n. If n is less than 0, print "Incorrect input".
      >>> print_fibonacci_series(5)
      [0, 1, 1, 2, 3]
      >>> print_fibonacci_series(10)
      [0, 1, 1, 2, 3, 5, 8]
      """
      if n < 0:
          print("Incorrect input")
          return
  
      series = [0, 1]
      while series[-1] < n:
          next_value = series[-1] + series[-2]
          if next_value >= n:
              break
          series.append(next_value)
      
      print(series)
output:     if n < 0:
          print("Incorrect input")
          return
  
      series = [0, 1]
      while series[-1] < n:
          next_value = series[-1] + series[-2]
          if next_value >= n:
              break
          series.append(next_value)
      
      print(series)