2021-10-28 17:34:45 +05:30

9 lines
151 B
Python

from itertools import count
for n in count(5, 3):
if n > 20:
break
print(n, end=', ') # instead of newline, comma and space
print()