comprehension about generator