input: Write a function to print the Fibonacci series up to a given number \( n \). The function should take an integer \( n \) as input and print all Fibonacci numbers from 0 up to \( n \). If the input number is less than 0, the function should print "Incorrect input".
  def fibonacci_series(n):
      if n < 0:
          print("Incorrect input")
          return
      a, b = 0, 1
      while a <= n:
          print(a, end=" ")
          a, b = b, a + b
  
  assert fibonacci_series(-1) == None
  assert fibonacci_series(0) == None
  assert fibonacci_series(5) == None
  assert fibonacci_series(10) == None
  assert fibonacci_series(15) == None
output: def fibonacci_series(n):
      if n < 0:
          print("Incorrect input")
          return
      a, b = 0, 1
      while a <= n:
          print(a, end=" ")
          a, b = b, a + b