Computer Science, asked by shivanshuprashant07, 10 months ago

Write a code that displays the sum of first 10 natural numbers .

Answers

Answered by divyapandey1501
20

Answer:

sum=0

n=1

while n<11:

sum=sum+n

n=n+1

print (sum)

Answered by donotreply2656
0

Answer: hello read it carefully i don't know about you that who are you you don't know the answer of this question so you are visiting here and don't be foolish like you are sitting in exam right now and going to right the answer this is wrong i want to tell you on more thing that if you say me thanks i will get money so if youcan give money to some one this is great you know so say me thanks .. dont mark me as brainliest i am a student likes you .... BYE BYE BHAI ANSWER DEKH LO .... NEECHE HAI...

Explanation: sum=0

n=1

while n<11:

sum=sum+n

n=n+1

print (sum)

Similar questions