We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f37fe commit 01892e8Copy full SHA for 01892e8
itertools/test_itertools.py
@@ -0,0 +1,5 @@
1
+import itertools
2
+
3
+print(list(itertools.islice(list(range(10)), 4)))
4
+print(list(itertools.islice(list(range(10)), 2, 6)))
5
+print(list(itertools.islice(list(range(10)), 2, 6, 2)))
0 commit comments