input: 
  def generate_list_with_while_loop(start: int, end: int) -> List[int]:
      """Generate a list using a while loop in Python and appends the current number 
      to the list from 'start' to 'end' (inclusive).
      >>> generate_list_with_while_loop(0, 10)
      [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
      >>> generate_list_with_while_loop(5, 15)
      [5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
      """
      my_list = []
      num = start
      while num < end:
          my_list.append(num)
          num += 1
      return my_list
  
output:     my_list = []
      num = start
      while num < end:
          my_list.append(num)
          num += 1
      return my_list