Replace Value In String Python Exercises Hackerrank