Computer Science, asked by kushbhu0808, 6 months ago

WAP in python to create a list of natural numbers from 1 to 50 using for loop

Answers

Answered by Anonymous
6

Answer:

Python program to display natural numbers from 1 to n

1 .#print 1 to n natural number. #using for loop. num=int(input("Please enter maxinmum number: ")) ...

2.#Python program to print natural number fro 1 to n. #using while loop. num=int(input("Enter maximum Natural number: ")) ...

3.#print 1 to n natural number. #using function. num=int(input("Please enter maxinmum number: "))

###hope this helps you###

Similar questions