S&P Global Interview Question

For what purpose did you use python script?