Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Python :: dashes seaborn 
Python :: program to segregate positive and negative numbers in same list 
Python :: python parse dict from string 
Python :: how to make a pairs plot with pandas 
Python :: multiple loss pytorch 
Python :: dynamo python templete 
Python :: how to find the length of a list in scratch 
Python :: python function to check list element ratio with total data 
Python :: pytho narrondir un nombre 
Python :: per gjera te shumta. Python 
Python :: fizzbuzz python 
Python :: save plot in python 
Python :: numpy identity matrix 
Python :: combine date and time python 
Python :: convert tibble to dataframe 
Python :: pandas percentage change across multiple periods 
Python :: how to put more than one file type in pysimplegui 
Python :: convert a pandas column to int 
Python :: python pandas transpose table dataframe without index 
Python :: .annotate unique distinct 
Python :: gdscript 2d movement 
Python :: python make button do more than one command 
Python :: find Carmichael number sage 
Python :: remove 0 values from dataframe 
Python :: how to strip a list in python 
Python :: print decimal formatting in python 
Python :: pyspark save machine learning model to aws s3 
Python :: df order by 
Python :: get home directory in windows python os 
Python :: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaple 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =