J.P. Morgan Interview Question

I applied data science intern, mainly focus on the python related questions