Put print list into a method and added rice to the list and called method to output a second time