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

describe an activity to draw a magnetic field line outside a bar magnet from one pole to another pole.
A cone has a slant height of 26 inches and a diameter of 48 inches. What is the volume of the cone?
When must early childhood professionals in school readiness programs, including volunteers and substitutes, complete training on identifying and reporting child
How to solve 4/(X+1) < 2/(X+3)
Let f(x) be a cubic polynomial on R which increases in the interval (-[infinity],0)∪(1,[infinity]) and decreases in the interval (0, 1). If f'(2)=6 and f(2)=2 ,
Who would be responsible for a power not specified in the Articles of Confederation? a) The President b) The Congress c) The States d) The Supreme Court
The following is an example of:
_________secreting neurohormones, secreting releasing hormones, secreting inhibiting hormones, and stimulation of nerve cells within the hypothalamus which exte
All of the following are limitations to the use of pulse oximetry except:a) Motion artifactb) Inaccurate readings with nail polishc) Can replace arterial blood
Martina has 43.35 centimeters of yarn. If she wants to make the yarn into pieces that are 0.85 centimeters long, how many pieces can she make?