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 this number.
  
  
  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
  
  n = int(input("Enter a number: "))
  print_fibonacci(n)
  
  
  assert print_fibonacci(5) == None  # Output should be: 0 1 1 2 3 5
  assert print_fibonacci(13) == None  # Output should be: 0 1 1 2 3 5 8 13
  assert print_fibonacci(0) == None  # Output should be: 0
  assert print_fibonacci(-1) == None  # Output should be: 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