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

Please answer this qjusetion. :)
Will give brainiest!! check all of these and help on the ones I haven't done Domain and Range pretty easy.​
What was the main impact of the Ku Klux Klan during Reconstruction? A. It helped large numbers of African Americans migrate out of the South. B. It contributed
angles that are 90 are called
PLEASE HELP its A Math Problem ! Is the following equation linear, quadratic, exponential or none of these? f(x)=3^x+2 None of these Linear Exponential Quadrati
Name three ways that former enslaved people were discouraged from fully participating in Southern society.
Please help with this question!
Can u name one plant whose no part goes waste?
Compare the method of imperialism used by these countries in regions of Africa?
Select the correct answer. Consider this quadratic equation. X^2+ 1 = 2x-3 Which expression correctly sets up the quadratic formula? OA. -(-2) + 2)2 - 4(1)(4) 2