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

What is the meaning of bathymetry
Optimization- Of all rectangles with a perimeter of 10, which one has the maximum area? (Give dimensions)
Help please! Which area pictured below shows water entering the atmosphere from respiration and transpiration
What is the answer to this equation 50X6-?=265/ I assume it is poitive 35. Is that correct?
0.6x-0.3y=-1.50.04x-0.02y=-0.1
The cheetah, which is the fastest land mammal, can accelerate from 0.0 mi/hr to 70.0 mi/hr in 3.0 seconds. What is the acceleration of the cheetah? Give your a
How do you figure out how many 1/4 inches are in 1 inch?
show me the steps for solving this problem how many grams of O2 are required to burn 46.0 grams of C5H12
what comes next 1,2,6,14,....
Double my tens digit to get my one digit. Doble me and i am less then 50