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

01.06 The Historian's Clues 30 POINTS!! Please hep
The graph of a function f is shown below. Use the zeros and the turning points of the graph to find the rule for f. A. f(x) = x4 − 8x2 + 16 B.f(x) = −x4 + 5x2 −
WHAT I HAVE LEARNEDDirections. Let's check what you have learned. Complete the paragraph bysupplying the missing words. (Use the worksheet on page 8).andBefore
Find the sum. (7/4x - 5) + (2y - 3.5) + (-1/4x + 5) =
What is a prepositional phrase?
an = 3.5 +2.8 (n-1) f(n) =
Scientific notation is written in the form a*10^n. What must be true about the a value? It can't be longer than 2 digits It has to be greater than 100 It must b
Which sediment would have the slowest rate of deposition? a round sediment O a very large sediment an irregularly shaped sediment O a high-density sediment
3) Which of the following was NOT permitted by the Articles of Confederation? A: Setting up Congress and representatives from each state. B: States coming toget
Help. 15 points !!! Which of the following would be a good topic sentence for an illustration paragraph? A. The relationship between cats and dogs is illustrat