Pergunta de entrevista da empresa The Smart Cube

what are generators in python and when would you recommend it over lists?