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

What is Br mass number?
3 3/4 divided by 5 1/4
Donnie has the option of borrowing $680 for 1 week a ran APR of 450% or borrowing the $680 for 1 week with a fee of $60. Which is the better deal?
Antonyms a bright boy
The biomolecule that is structurally important in cell membranes is a
How did russia respond to growing international industrialization in the 19th century
Excerpt from The Life of Swift (excerpt) Samuel Johnson Story: Of this disgrace it may be easily supposed that he was much ashamed, and shame had its proper eff
how many litres of water flow out of pipe having an area of cross-section 6sq.cm in one minute, if the speed of water in the pipe is 42cm/s??<br />ANS IS
The opening balance of one of the 31-day billing cycles for clay’s credit card was $3300 but after clay made a payment of $1900 to decrease his balance, and it
Find an equation for a line passing through (-3, 4) and (2, -6)