diff --git a/README.md b/README.md index d3afffb..2bf27ca 100644 --- a/README.md +++ b/README.md @@ -1385,15 +1385,15 @@ from itertools import * ### Iterators ```python ->>> chain([1, 2], range(3, 5)) +>>> chain([1, 2], [3, 4]) [1, 2, 3, 4] >>> compress([1, 2, 3, 4], [True, False, 1, 0]) [1, 3] >>> # islice(, from_inclusive, to_exclusive) ->>> islice([1, 2, 3], 1, None) -[2, 3] +>>> islice([1, 2, 3, 4], 2, None) +[3, 4] ``` ### Group by