Remove unused import
Reindent for clarity
Slice the iterable rather than converting to a list and slicing that.
Please don't feign a monkey patch when one isn't used.