結果 : python replace element in list by condition