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