a python program to display the list of any N natural number
Answers
Answered by
3
Explanation:
This Python program for natural numbers allows users to enter any integer value. Next, this program prints natural numbers from 1 to user-specified value using For Loop.
Answered by
0
n = input(int(“Please Enter a number: ”)
for i in range(1, n+1):
print(i)
Thank you
for i in range(1, n+1):
print(i)
Thank you
Similar questions