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

Dihybrid crosses???​
(a+b)^2=10 and ab=1 then find a^2+b^2
What did this type of testimony help prosecutors to prove?
how many ways are there to make $3 with pennies, nickels, and dimes​
Use the graph or table to find the equation that represents the relationship.please HELP!!!!!!100 points and a Brainliest if your answer is clear and correct
What employment positions at a hotel can also be found in almost any business?
which best describes the purpose of President Kennedy‘s peace corpse program
Giving my all points away! What is the Value of log5512, when log 2 = 0.3010 and log 3 = 0.4771?
Which of the following is important to remember when sautéing vegetables? The vegetables should be sautéd in the sauce that will be used to flavor the vegetable
Yessina has decided to become a vegetarian, but she is worried that she will not get enough protein because that is found in meat. What is the BEST response to