Sliding Window Average Leetcode Python Practice