Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Connect with professionals ready to provide precise answers to your questions on our comprehensive Q&A platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

PLEASE HELP 20 POINTS One day, River writes down the numbers $1,$ $2,$ $\dots,$ $999.$ What is the sum of all the digits that River wrote down?

Sagot :

fichoh

Question isn't well formatted :

Actual question :

One day, River writes down the numbers 1,2,...,999. What is the sum of all the digits that River wrote down?

Answer:

499500

Step-by-step explanation:

Number written :

1, 2,...., 999

The interpretation of the number written is 1 up to 999

Hence, the sum of the number written is the addition of all the numbers from 1 up to 999

Using the python program :

sum = 0

for i in range(1000):

sum += i

print (sum)

Output = 499500

Answer:

13500

Step-by-step explanation:

Notice how it says the sum of all of the DIGITs. We have to add together the sum of the digits. We can do this by:

300(1 + 2 + 3 + 4.... + 9) = 300*45 = 13500