I have known a few school teachers like that.

My grandmother was a teacher for many years and I still rmember some of the stories she used to tell about some of the answers she received from her students (Infants School, 2nd class mostly).

She always maintained it was better to laugh along with the smarty pants answers than to make an issue of them.....the kids settled down quicker and the lesson could resume.