Browse Source

Set

pull/3/head
Jure Šorn 6 years ago
parent
commit
c1c216cac4
1 changed files with 3 additions and 2 deletions
  1. 5
      README.md

5
README.md

@ -153,8 +153,9 @@ def step(start, step):
start += step
```
```python
stepper = step(10, 2)
next(stepper) # 10 (, 12, 14, ...)
>>> stepper = step(10, 2)
>>> next(stepper), next(stepper), next(stepper)
(10, 12, 14)
```

Loading…
Cancel
Save