Hackerrank Python Basic Certification String Transformation Solution

Hackerrank Python Basic Certification String Transformation Solution