Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

program in python to print first 10 natural number.

# Python Program to Print Natural Numbers from 1 to N
 
number = int(input("Please Enter any Number: "))

print("The First 10 Natural Numbers ".format(number)) 

for i in range(1, number + 1):
    print (i, end = '  ')
Comment

PREVIOUS NEXT
Code Example
Python :: what is a thread in os 
Python :: what does filename = path(file).stem python 
Python :: how to sleep() in python 
Python :: on_delete django options 
Python :: python catching exceptions 
Python :: tkinter filedialog 
Python :: python sort a list by a custom order 
Python :: min max code in python 
Python :: do i need do some set when i use GPU to train tensorflow model 
Python :: no module named 
Python :: how to reduce the image files size in python 
Python :: python return double quotes instead of single 
Python :: python scatter size 
Python :: get category discord.py 
Python :: -2 in python 
Python :: non blocking socket python 
Python :: how to create Varible in python 
Python :: socket for api in django 
Python :: python linked list insert 
Python :: python pandas change column order 
Python :: Math Module radians() Function in python 
Python :: Following Links in Python 
Python :: harihar kaka class 10 questions 
Python :: EJERCICIOS DE FOR Y WHILE en python 
Python :: how to use self.list.setCurrentRow() in pyqt5 
Python :: when training= false still dropout 
Python :: Highlighting the shortest path in a Networkx graph 
Shell :: lumen run command 
Shell :: install sklearn 
Shell :: how to start nginx in linux 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =