input: Write a function to print the Fibonacci series up to a given number of terms. The function should take an integer `n` as input and print the first `n` Fibonacci numbers.
  assert printFibonacciSeries(5)==None
  assert printFibonacciSeries(8)==None
  assert printFibonacciSeries(1)==None
  assert printFibonacciSeries(0)==None
  assert printFibonacciSeries(3)==None
output: def printFibonacciSeries(n):
      if n <= 0:
          return
      a, b = 0, 1
      for _ in range(n):
          print(a, end=' ')
          a, b = b, a + b
      print()