Integers
from series import integers
for i in integers():
print(i)
if i >= 10:
break
Output:
1
2
3
4
5
6
7
8
9
10
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
from series import integers
for i in integers():
print(i)
if i >= 10:
break
Output:
1
2
3
4
5
6
7
8
9
10