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

How many times does the city name alexandria appear on the map?
Tom works in the cold food department in a supermarket. The thermometer shows the temperature of one of the freezers. The freezer should be working at -18°C.
In a hospital setting, which of the following presents the possibility of being the source of an arc flash? A. Electrocautery Device B. Defibrillator C.
Solve the question (equation) 0.3r=96
What is a zero of the quadratic function f(x)=9x^2-54x-19
The product of two positive integers plus their sum is 95. The integers are relatively prime, and each is less than 20. What is the sum of the two integers?
Sexually transmitted infections are widespread in the United States. Approximately half of new cases occur in which age group?
Which list has the numbers ordered from greatest to least? A. 0.33, 1/4, - 8/7, - 8/5 B. 1/4, 0.33, 8/7, 8/5 C. 8/5, 1/4, 0.33, 8/7 D. 8/7, 8/5, 0,33, 1/4
Please help... I can't fail..
According to ezekiel what two kinds of restoration will precede national restoration