Iterates over sliding windows of the iterable.
If the window size is larger than the size of the iterable, no windows will be yielded.
type of the item
the iterable
window size
if n <= 0
Iterates over sliding windows of the iterable.
If the window size is larger than the size of the iterable, no windows will be yielded.