andrea7262
andrea7262 andrea7262
  • 22-10-2020
  • Computers and Technology
contestada

What is the output of this program? numA = 10 for count in range(5): numA = numA + 2 print (numA)​

What is the output of this program numA 10 for count in range5 numA numA 2 print numA class=

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 23-10-2020

Answer:

20

it runs the code 5 times, 10+2+2+2+2+2 basically. E.g 20

Answer Link

Otras preguntas

In the Caribbean, Puerto Rico and Jamaica are islands of the A. Windward Islands. B. Lesser Antilles. C. Leeward Islands. D. Greater Antilles.
What number is multiplied 4 times to get 81
Which Akkadian ruler built a large army and conquered land to form one of the world's first empires? A. Akkad B. Gilgamesh C. Sargon D. Babylon
how do I do this problem 125 divided by 468.75 I keep getting a different answer
Which description best fits the term prairie? A. treeless with tall grasses that provide food and cover for animals B. rocky with steep cliffs, narrow canyons,
Plant cells can go through photosynthesis because they contain which of the following? A: a cell wall B: a large vacuole C: chloroplast or D: lysosomes
Starting from rest, a 4.0-kg body reaches a speed of 8.0 m/a in 20 s. What is te net force acting on the body?
What do barbers do in colonial times
What is in the middle of 2.15 meters and 2.17meters using desimals I need 3answers
What are three ways can individuals influence public policy?