input: Write a function to print out the Fibonacci series up to n numbers where n is a user input. The function should take an integer n as input, and print the Fibonacci series starting from 0 and 1, up to n numbers. If n is less than 2, the function should print only the first two Fibonacci numbers.
  assert fibonacci_series(10)
  assert fibonacci_series(5)
  assert fibonacci_series(2)
  assert fibonacci_series(1)
  assert fibonacci_series(0)
output: def fibonacci_series(n):
      if n < 2:
          n = 2
      a, b = 0, 1
      for _ in range(n):
          print(a, end=' ')
          a, b = b, a + b