Replace Elements In String Python Functions Interview