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

A scatter plot is made to model the number of calories in different portions of fish sticks. The data used for the scatter plot are shown in the table below:
you have a tree in your yard that is 64 inches around. What is the diameter of the tree?
Read the passage and answer the question that follows: The Lion and the Mouse A Lion asleep in his lair was woken up by a Mouse running over his face. Losing
Read the paragraphs and answer the question that follows. Over the past 500 years, four large earthquakes have occurred near the same location along a contine
Which sentences in this passage does Edgar Allan Poe use to foreshadow Fortunato’s eventual fate in his short story “The Cask of Amontillado”? "Drink," I said,
Which statement best supports why the ruler Shah Jahan built the Taj Mahal using all white marble
create an expression equivalent to 617
Base your answer to question on the poster below and on your knowledge of social studies.This poster was used during World War II to?A) Promote the sale of war
A karyotype of a human female shows that she only has one x chromosome. which genotype would represent her genetic condition?
Jessica meets a veterinarian and would like to ask a Strong Question about that career. Which question would help her gather the most useful information? Do yo