Complete the following sentence.

Having outgrown diapers, the child switched to shorts but not pants, as the
shorts fit perfectly.