S&P Global interview question

For what purpose did you use python script?