input: 
  from typing import List
  
  def generate_list_using_while_loop(num_limit: int) -> List[int]:
      """ Generate a list of numbers using a while loop up to a specified limit.
      Append each number to the list until the limit is reached.
      
      >>> generate_list_using_while_loop(5)
      [0, 1, 2, 3, 4]
      >>> generate_list_using_while_loop(3)
      [0, 1, 2]
      """
      result_list = []
      num = 0
      while num < num_limit:
          result_list.append(num)
          num += 1
      return result_list
  
output:     result_list = []
      num = 0
      while num < num_limit:
          result_list.append(num)
          num += 1
      return result_list