EY interview question

Python array handling questions and String manipulation.