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 did the expansion of railroads affect commerce?
The population of Africa is 6.582•10^14 people. The population of Australia is 4.32•10^14. How many times the population of Australia is Africa?
In which sentence are all periods used correctly? A. Mr. Langan requested a wake-up call for 9:00 A.M. on Saturday. B. Dr. Vaughn gave Mrs Vaughn a pearl neckla
What mark did tom walker find when he reached home
For breakfast, a customer can choose two different items from the following list: eggs pancakes waffles oatmeal bacon or muffin. How many different breakfast me
Why do foxes eat lizards?????
Find A intersection B. A: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} B: {-2, -1, 1, 4, 7, 11} Multiply choice: A. {-2,-1,1,2,3,4,5,67,8,9,10,11} B. {1,4,7,11} C. {
which layer of the earth is where weather occurs
what is the slope- intercept form of 24x-8y=56
describe the steps involved in the fractional distillation of crude oil answer in such a way bcz it is a 3 mark question