Create a Python program to print numbers from 1 to 10 using a while loop.
In programming, Loops are used to repeat a block of code until a specific condition is met. The While loop loops through a block of code as long as a specified condition is true.
To Learn more about working of While Loops read:
i = 1 while(i<=10): print(i) i += 1
1 2 3 4 5 6 7 8 9 10