Computer Science, asked by yuvikamarwah84, 3 months ago

To find the sum of 100 natural numbers.

Answers

Answered by Anonymous
1

Answer:

hello,

Explanation:

____________________________________________________

what is a natural number?

-all the positive integers starting from 1

______________________________________________________

#python program to find the sum of first  100 natural numbers

sum=0

for i in range(1,101):

   sum+=i

print(sum,"is the sum of first 100 natural numbers")

________________________________________________________

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions