結果 : how to use sliding window in python