write a python program to print natural numbers upto 100 using functions
Answers
Answered by
1
Answer:
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 = ' ')
Hope it helps!! Thank you, please mark as brainliest.. :)
Similar questions