input: Write a function to print the Fibonacci series up to n numbers, where n is a user input. If the user inputs a negative number or zero, the function should print an error message.
  def print_fibonacci_series(n):
      if n <= 0:
          print("Error: Enter a positive integer.")
          return
      
      a = 0
      b = 1
      print("Fibonacci Series:") 
      print(a, b, end=" ") 
      
      for i in range(2, n):
          c = a + b
          a = b
          b = c
          print(c, end=" ")
      
      print()
  
  assert print_fibonacci_series(10) == None
  assert print_fibonacci_series(-5) == None
  assert print_fibonacci_series(0) == None
output: def print_fibonacci_series(n):
      if n <= 0:
          print("Error: Enter a positive integer.")
          return
      
      a = 0
      b = 1
      print("Fibonacci Series:") 
      print(a, b, end=" ") 
      
      for i in range(2, n):
          c = a + b
          a = b
          b = c
          print(c, end=" ")
      
      print()