input: Write a function to generate a list using a while loop in Python and appends the current number to the list until the given number is reached. The generated list should start from 0 and include the given number.
  def generate_list_using_while_loop(limit):
      my_list = []
      num = 0
      while num <= limit:
          my_list.append(num)
          num += 1
      return my_list
  assert generate_list_using_while_loop(5) == [0, 1, 2, 3, 4, 5]
  assert generate_list_using_while_loop(0) == [0]
  assert generate_list_using_while_loop(3) == [0, 1, 2, 3]
  assert generate_list_using_while_loop(1) == [0, 1]
  assert generate_list_using_while_loop(10) == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
output: def generate_list_using_while_loop(limit):
      my_list = []
      num = 0
      while num <= limit:
          my_list.append(num)
          num += 1
      return my_list