Replace Elements In A String Python