def subsequences(l,n): return [l[i:i+n] for i in range (len(l)-n+1)]
This works, but it is not especially pretty or graceful. I was just curious to know if anyone can come up with a more congenial way to express this.
(Yeah, this is just a chance for you smart kids to show off. That's always fun...)