Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print numbers from specific number to infinite inpython

import itertools as it
for p in it.count(1):
    print(p, end = " ")
#Output: 
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 .......


for p in it.count(10):
    print(p, end = " ")
#Output: 
# 10 11 12 13 14 15 16 17 18 19 .......
#Thank you please like
#And also visit my youtube channel: 
#https://www.youtube.com/channel/UCFifhUCbQIdIEohggreVhQg
#Please Subscribe
 
PREVIOUS NEXT
Tagged: #print #numbers #specific #number #infinite #inpython
ADD COMMENT
Topic
Name
6+8 =