Frage im Vorstellungsgespräch bei Imagination Technologies

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