Question d’entretien chez Infosys

what is iterator and generator in python?