Write a Python program to print first 10 natural numbers using for loop.
print("====The First 10 Natural Numbers====") for i in range(1, 11): print(i)
This Python program displays the first 10 natural numbers using a while loop.
print("====The First 10 Natural Numbers====") i = 1 while(i <= 10): print(i) i = i + 1
====The First 10 Natural Numbers====
1
2
3
4
5
6
7
8
9
10