Browse Source

Itertools

pull/27/head
Jure Šorn 5 years ago
parent
commit
c0d91706bd
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -236,8 +236,8 @@ from itertools import islice, count, repeat, cycle, chain
```python ```python
<iter> = count(start=0, step=1) # Counter. <iter> = count(start=0, step=1) # Counter.
<iter> = repeat(<el> [, times]) # Returns element endlesly or times times.
<iter> = cycle(<collection>) # Repeats the sequence indefinately.
<iter> = repeat(<el> [, times]) # Returns element endlessly or times times.
<iter> = cycle(<collection>) # Repeats the sequence indefinitely.
``` ```
```python ```python

Loading…
Cancel
Save