input: Write a function to print the Fibonacci series up to n numbers where n is taken as input from the user. If n is less than or equal to 0, print an empty line.
  assert print_fibonacci(5) == print("0 1 1 2 3")
  assert print_fibonacci(10) == print("0 1 1 2 3 5 8 13 21 34")
  assert print_fibonacci(-2) == print("")
  assert print_fibonacci(0) == print("")
  assert print_fibonacci(1) == print("0")
output: def print_fibonacci(n):
      if n <= 0:
          print("")
          return
      if n == 1:
          print("0")
          return
      a, b = 0, 1
      result = [a, b]
      for _ in range(2, n):
          a, b = b, a + b
          result.append(b)
      print(" ".join(map(str, result)))