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

Prepare an art integrated assignment (Chart tabulation of music, costume, region, language association) of haryana
I need help pleasee What is the length of the dotted line in the diagram below? Round to the nearest tenth.
Color: 4. You have 4 dimes, 8 nickels, 5 pennies, and 3 quarters. You draw three coins one after the other without replacement. What is the probability you draw
Alayna is paid £850 per month. Each month she spends 68% of her pay and saves the rest. How many months will it take Alayna to save £4624?​
Contact lenses 1. should/shouldn't be worn.
What do muckrakers do? Option:: a. set political agendas b. uncover abuses in government c. set political policies d. serve as gatekeepers
The average distance between the earth and the moon is 386,000 km. Expressed in scientific notation, this distance is written as
all numbers that give 62.8 when truncated to 1 decimal place
what is a bust??????​
What is the shortest delay time, in milliseconds, that wouldcause two 65 Hertz sine waves to be 30 degrees out of phase? Roundyour answer to the nearest hundred