Pregunta de entrevista de Imagination Technologies

Write grep -ir in python using pipes as input and output