Write a program to print the first 10 natural numbers.
print("====The First 10 Natural Numbers====")
i = 1
while(i <= 10):
print(i)
i = i + 1
Study more about Python at Python Class 10
1.5k questions
1.4k answers
4 comments
11.8k users