sahanaskumbar sahanaskumbar
  • 25-05-2024
  • Computers and Technology
contestada

Python program to calculate the sum of first ten even numbers by using the while loop

Respuesta :

dharitrim912 dharitrim912
  • 25-05-2024

sum =int(input (Enter number))

sum=oi= 0 while i<=num if 1%2=-0:

print(i) sum+= i i+=1

print(f"sum of all even number is(sum)

Answer Link

Otras preguntas

How many of these figures have at least one vertex?
what does sales territory mean?
Please help!!!! Which point is on the graph of f(x) = 6*? O A. (1,6) O B. (6,1) O C. (0,6) O D. (0,0)
can somebody help me? Dean is comparing prices on ground beef. Store A is selling 5 pounds of ground beef for $23.49. Store B is selling 8 pounds of ground beef
4. Encuentra dos sistemas de ecuaciones linealesque tengan como solución el punto dadoRecuerda: para que un punto pertenezca a larecta, reemplazas las coordenad
I NEED HELP ASAP PLSSS ITS TIMED!!!!!!!
Multiply 0.035 times a power of ten so that the product is greater than 1, but less than 100.write the expression.
A narrator may be unreliable because he or she is
I need help with math if you don't know the answer get out of the question and don't answer it and give the wrong answer or some link or even say "I don't… If y
I need this quickly please