input: Write a function to print the Fibonacci series up to a given number. The function should take an integer input and print all Fibonacci numbers less than or equal to the input number. If the input number is less than 0, it should print "Incorrect input".
  
  def print_fibonacci(n):
      if n < 0:
          print("Incorrect input")
          return
      a, b = 0, 1
      while a <= n:
          print(a, end=" ")
          a, b = b, a + b
      print()
  
  assert print_fibonacci(5)
  # Output: 0 1 1 2 3 5
  assert print_fibonacci(10)
  # Output: 0 1 1 2 3 5 8
  assert print_fibonacci(0)
  # Output: 0
  assert print_fibonacci(-1)
  # Output: Incorrect input
output: def print_fibonacci(n):
      if n < 0:
          print("Incorrect input")
          return
      a, b = 0, 1
      while a <= n:
          print(a, end=" ")
          a, b = b, a + b
      print()