Optiver interview question

Python basic tests 3 questions