結果 : python loop through array and update values