Modify Character In String Python Methods