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

draw a figure with points B,C,D,E,F,and G that shows CD,BG,and EF, with one of the points on all three lines
Do you write a number divided by zero or zero divided by number
When a table has been added to a word document and is active, what two tabs are added to the ribbon (in the menu bar)? design and layout appearance and fu
Mr. Rodriguez invests half his money in land, a tenth in stocks, and a twentieth in bonds. He puts the remaining $35,000 in his savings account. What is the tot
How did Sally build rapport with patient
midpoint between 8.5 and 8.6
Which action is the best method for responding to a counterclaim? A.Ask your readers to ignore the information provided in the counterclaim. B.Explain in a res
Does any one know these answers
thinking ahead does nothing to help prevent accidents true or false
Write 300 as a product of its prime factors. Give your answer in index notation.