結果 : moving average code in python