Seudónimo Seudónimo
  • 13-02-2017
  • Mathematics
contestada

whats the sum of all odd numbers between 1 and 1000

Respuesta :

senpaison senpaison
  • 13-02-2017
Answer: 250000

x=1y=0
while(x<=999):    y += x    x += 2
print(y)
Answer Link

Otras preguntas

There are 2 types of worms: worms that eat at night (nocturnal) and worms that eat during the day (diurnal). The birds eat during the day and seem to be eating
Can someone please help me with this? I'm not sure how to do it.
Fill in the blanks of the sentence.
Hello, all! I’m currently doing a project about the Minoans. Perhaps someone could give me an Acrostic Poem about the Minoans? For example, M - … I - … And so
In this unit, you explored the theme of historical speeches and examined the guiding question: How do we influence others' beliefs? In this unit, you read and a
THE WORLD WITH A THOUSAND MOONS CHAPTER 1: Thrill Cruise By Edmond Hamilton Lance Kenniston felt the cold realization of failure as he came out of the building
Sophie has a BMR of 1,500 calories. What is her TEE if she exercises moderately?
Find the error with subject-verb agreement. Select the incorrect verb and type it correctly. The two speakers at the conference yesterday runs a nonprofit organ
What is a orange? { 35 points } 1. A color 2. A fruit
How many energy transformations and/or transfers happen as electricity is being produced? -Name at least 4