結果 : weighted moving average in python