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 from the first number to the nth number.
  assert fibonacci_series(10)==['0', '1', '1', '2', '3', '5', '8', '13', '21', '34']
  assert fibonacci_series(5)==['0', '1', '1', '2', '3']
  assert fibonacci_series(0)==[]
  assert fibonacci_series(1)==['0']
  assert fibonacci_series(2)==['0', '1']
output: def fibonacci_series(n):
      if n == 0:
          return []
      elif n == 1:
          return ['0']
      elif n == 2:
          return ['0', '1']
      
      result = ['0', '1']
      a, b = 0, 1
      for _ in range(2, n):
          a, b = b, a + b
          result.append(str(b))
      return result