Задание

While Bob ______________________ windows, it started raining.

had painted

painted

was painting

had been painting