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

Find the real square roots of each number. 1/96
Is Urrea himself an immigrant? Explain. "By the Lake of Sleeping Children"
The number of radioactive nuclei in a particular sample decreases to one-eighth of its original number in 9 days. what is the half-life of these nuclei?
Simplify -100 square rooted
Write the equation of each line in slope-intercept form and identify the slope. 5 y=-3 x-10
If anyone had read names/nombres please help me out
What is each sum or difference? a. (7-2 i)+(-3+i)
Which command lets a tester enumerate live systems in a class c network via icmp using native windows tools?
What is the magnitude of the acceleration of a speck of clay on the edge of a potter's wheel turning at 45 rpm (revolutions per minute) if the wheel's diameter
Which manufacturer has the absolute advantage? the dairy ice cream, inc. frozen treats bob