3Point14 Digital interview question

Some questions regarding python and excel