magayuma278
magayuma278 magayuma278
  • 17-01-2022
  • Computers and Technology
contestada

Use a while loop to output the even number from 100 to 147? This is python

Respuesta :

TheOnlyLman3613
TheOnlyLman3613 TheOnlyLman3613
  • 17-01-2022

Answer:

def main():

 i = 100

 while(i < 148):

   print(i)

   i += 2

main()

Explanation:

Answer Link

Otras preguntas

I've been stuck on this question
expand the expression and combine like terms: 7.4z-5(-1.6z+2.4)
Which of these choices is NOT a cultural influence on our wellness? A. attitude B. behavior C. hereditary diseases D. media Please select the best answer from t
In which one of the following sentences could you best use a semicolon? A. Jerry loves tennis he plays every day. B. Lucille bought a new tennis racket and b
misogyny : women :: A. divest : property B. pathological : disease C. progeny : children D. misogamy : marriage
during the neaolithic revolution production of a food surplus led directly to
The _____ demonstrates the cell theory because it develops cells that fuse to form one giant cell, making up the whole organism
which of the following laboratory tool would be most appropiate for measuring the approximate volume of a liquid?
What was the main use for airplanes in World War I?
how does Jonathan Swift's Gulliver's Travels comment on the ties that bind together a family community or Nation