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

Danika concludes that the following functions are inverses of each other because f(g(x)) = x. Do you agree with Danika? Explain your reasoning.f(x) = |x|g(x) =
-3/5 + 2/3 and what are the steps
How did Locke’s ideas influence the colonist
Assuming ideal behavior, what is the vapor pressure of a solution of 16.0 mol of carbon tetrachloride and 4.00 mol of dioxane (c4h8o2)at 23.0 oc? vapor pressure
Is the expression polynomial ?
The diagram to the right shows a reflection across a line. Find the value of each variable.
As part of a class project, a university student surveyed the students in the cafeteria lunch line to look for a relationship between eye color and hair color a
how do you do those 4 question
Six friends are equally sharing 4 packs of basketball cards. How much of a pack will each friend get?
Mohamed by 31 cups of coffee each week. If a cup of coffee cost D dollars and Mohammed by approximately the same number of coffee each day, Which would be a mat