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

Relax

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

A newspaper has more than 30 pages and fewer than 40 pages.The newspaper is divided into sections, and each section has 8 pages.How many sections dose the newsp
how to remember golgi apparatus
Divide.–5.4÷0.9 = a. –6.0 b. –0.6 c. 0.6 d. 6.0
what is 5.62 as a mixed number in simplest form
m^2 + 8m - 9 = 0 Must be factored completely
according to the declaration of independence, what is the power of the government based on
What is the least common multiple of15&25
Paying tribute included giving gold or human sacrifice victims to a larger, more powerful empire. Which empire forced others to pay tribute?
what is the answer to -12(k+4)=60
The cost for a certain music plan is $9.99per year plus $0.25per song you download.if you paid $113.74one year find the number of songs you downloaded