Computer Science, asked by vaishnavireddy6573, 9 months ago

Program in python to find the first ten natural numbers

Answers

Answered by aryankhandelwal018
1

Answer:

i=1

for i in range(10):

print(i)

i=i+1

plz follow me

Answered by Anonymous
0

Answer:

# Python Program to Print Natural Numbers from 1 to N

 

number = int(input("Please Enter any Number: "))

print("The List of Natural Numbers from 1 to {0} are".format(number))  

for i in range(1, number + 1):

   print (i, end = '  ')

Similar questions