input: Write a python function to print numbers from 0 to 2 using a while loop.
  assert print_numbers() == [0, 1, 2]
output: def print_numbers():
      result = []
      i = 0
      while i <= 2:
          result.append(i)
          i += 1
      return result