Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76155bf

Browse files
committed
Iterator section
1 parent f5dfc4f commit 76155bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ for line in iter(partial(input, 'Please enter value: '), ''):
189189

190190
#### Skips first item:
191191
```python
192-
next(<iter>, None)
192+
next(<iter>)
193193
for element in <iter>:
194194
...
195195
```

0 commit comments

Comments
 (0)