結果 : how to code moving average in python