input: Write a python function to generate a Fibonacci series up to a given number.
  assert generate_fibonacci_series(10) == [1, 1, 2, 3, 5, 8]
  assert generate_fibonacci_series(1) == []
  assert generate_fibonacci_series(0) == []
  assert generate_fibonacci_series(20) == [1, 1, 2, 3, 5, 8, 13]
output: def generate_fibonacci_series(n):
      if n <= 1:
          return []
      series = [1, 1]
      while True:
          next_value = series[-1] + series[-2]
          if next_value >= n:
              break
          series.append(next_value)
      return series