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

Georgia Governor Eugene Talmadge was against the New Deal programs in the 1930s. He believed that by hard work and thrift alone a person could master his or her
Clapping wildly, the audience shouted for the band to come back on stage for an encore. Identify the particle phrase in the sentence. A. For an Encore B. Clappi
90 questions got 18 wrong what's the percent for correct
If the function y = 3x + 2 is translated 5 units up, which equation will best describe the new line?
can y'all describe a chinese estate? asap
Compare 6/10 & 3/4. Use _ as a common numerator
What did the New Nationalism program support? A: It favored consolidation of trusts and labor unions. B:It favored small enterprise and entrepreneurship. C:It f
Why Harriet Tubman is considered a Heroic Figure?
Which step should be completed first to solve the equation ? A. Add 12 to both sides. B. Add 13 to both sides. C. Divide both sides by 8. D. Subtract 13
In 2004, a total of 2,659,732 people attended the baseball team's home games. In 2005, a total of 2,832,039 people attended the home games. About how many peop