結果 : sliding window method python