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

How did the Chinese government respond to the British opium trade?
He was as strong as an ox. This is an example of which type of figurative language? O A. Simile B. Theme O C. Imagery O D. Metaphor
Which polynomial is in standard form?
the point (-1 , 0.5) lies on the graph of f^-1(x)=2^x based on this information which point lies on the graph of f(x)=log2^x
What did American manufacturers do once they no longer needed to make war supplies? A.They made consumer goods for people to buy. B.They sold things instead of
If 80% of M is equal to 50% of N and N ≠ 0 what is N/M equal to?
3^x= 3*2^x solve this equation
How did the U.S. obtain the land that consisted of California and the southwestern United States?
At most, Alana can spend $40 on carnival tickets. Ride tickets cost $4 each, and food tickets cost $2 each. Alana buys at least 16 tickets. The system of inequa
If a freely falling rock hits the ground with a force of 245Newtons what is its mass?