input: Write a function to print the Fibonacci series up to a given number `n`. If the input number is less than 0, print "Incorrect input". Otherwise, print the Fibonacci series up to `n`.
  
  def print_fibonacci(n):
      if n < 0:
          print("Incorrect input")
          return
      a, b = 0, 1
      series = []
      while a <= n:
          series.append(a)
          a, b = b, a + b
      print(series)
  
  assert print_fibonacci(5)==None
  assert print_fibonacci(-1)==None
  assert print_fibonacci(0)==None
  assert print_fibonacci(1)==None
output: def print_fibonacci(n):
      if n < 0:
          print("Incorrect input")
          return
      a, b = 0, 1
      series = []
      while a <= n:
          series.append(a)
          a, b = b, a + b
      print(series)