Home
Random
Nearby
Log in
Settings
Give to Wikipedia
About Wikipedia
Disclaimers
Search
MANSI121999
Joined 6 October 2017
User page
Talk
Watch
View history
Contributions
Change
More
Languages
What links here
Logs
View user groups
Permanent link
Page information
Edit full page
Download QR code
Learn more about this page
python program for add natural numbers
n=int(input("enter the number")) sum=0 i=1 while i<=n:
sum=sum+i i=i+1
print("the sum is",sum)
Add topic