Computer Science, asked by Arsh1886, 4 months ago

python program to find the sum of natural numbers from M to N where M and n are input by the user...
ans fast class 8 DONT ANS SORY I DONT KNOW ..ANSWER ONLY WHO KNOWS OTHERWISE THAT WILL BE MARK AS REPORT THE ANSWER......​

Answers

Answered by sandhyadeepu96
4

Answer:

In this program we are not using the natural number addition formula n(n+1)/2, instead we are adding the natural numbers using while loop. The user is asked to enter the value of n and then the program calculates the sum of natural numbers upto the entered value n.

Explanation:

thku mark as brainlist follow me please

Similar questions