結果 : replace array elements python