Point72 Interview Question

a lot of question in Python