結果 : replace element in list by value python