String Manipulation Using Array In Python Interview