結果 : how to replace specific elements in a list python