Header Ads

Python Program to Print Number From 1 to 10 Using While Loop


Write Program to Print Number From 1 to 10 Using While Loop In Python
Python Program, Find The Sum,  Natural Numbers, While Loop, Display Natural number, Display Nutural Number and Their Sum, Display Nutural Number and Their Sum and Average, Python Program to Find The Sum of Natural Numbers 1 to 10 Using While Loop



Example:  Code Program

n = 1

while n <= 10:

    print(n)

    n = n+ 1





Output


Python Program, Find The Sum,  Natural Numbers, While Loop, Display Natural number, Display Nutural Number and Their Sum, Display Nutural Number and Their Sum and Average, Python Program to Find The Sum of Natural Numbers 1 to 10 Using While Loop

No comments

Powered by Blogger.