input: Write a python function to print the Fibonacci series up to a given limit.
  assert fibonacci_series(5) == [0, 1, 1, 2, 3]
  assert fibonacci_series(7) == [0, 1, 1, 2, 3, 5, 8]
  assert fibonacci_series(3) == [0, 1, 1]
output: def fibonacci_series(limit):
      series = []
      a, b = 0, 1
      while len(series) < limit:
          series.append(a)
          a, b = b, a + b
      return series