Agnisys interview question

string reverse some python output questions