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

Let $f(x) = x^{10}-8x^8-8x^3+12x^2-5x-5$. Without using long division (which would be horribly nasty!), find the remainder when $f(x)$ is divided by $x^2-1$.
Skeletal muscle cells are usually attached to bone by A. fascicles. B. ligaments. C. tendons. D. flexors.
Detailed information about the life of a person written by that same person which identifies the type of informational text that includes this content?
standard form of an equation using intercepts please help
how do u graph x>4 on a x and y graph?
An athlete to you complaining of left anterior thigh pain after doing step back lunges during a weight training session. She states she did heavy squats that sa
which equation can be used to find the measure of angle LKJ?
Why do think the first government of United States was set this way
The immigration from 1901 to 1910 had a greater effect on the United States than the immigration from 2001–2010. Why might this statement be true? What caused
Can someone explain this please ? Like explain how to do it