input: def generate_list_with_while_loop() -> List[int]:
      """ Generates a list of integers from 0 to 9 using a while loop and appends each number to the list.
      >>> generate_list_with_while_loop()
      [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
      """
      my_list = []
      num = 0
      while num < 10:
          my_list.append(num)
          num += 1
      return my_list
output:     my_list = []
      num = 0
      while num < 10:
          my_list.append(num)
          num += 1
      return my_list