Find And Replace String In List Python Code For Snake