input: Write a function to print the Fibonacci series up to a specified number of terms `n`. If `n` is less than or equal to 0, print "Invalid input". The function should return None.
  assert printFibonacciSeries(5)==None
  assert printFibonacciSeries(-1)==None
  assert printFibonacciSeries(0)==None
  assert printFibonacciSeries(10)==None
  assert printFibonacciSeries(1)==None
output: def printFibonacciSeries(n):
      if n <= 0:
          print("Invalid input")
          return None
      a, b = 0, 1
      for _ in range(n):
          print(a, end=" ")
          a, b = b, a + b
      print()
      return None