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

Making the diagnosis of schizophrenia is controversial because
Which of the following prompted England's decision to colonize? a.Hakluyt, an English geographer, convinced England that it could not compete with Spain without
Read the passage. excerpt from Act III, Scene 1, in A Midsummer Night's Dream by William Shakespeare Titania I pray thee, gentle mortal, sing again. Mine ear is
When you reverse the digits in a certain two-digit number you decrease its value by 18. what is the number if the sum of its digits is 12? a.92 b.75 c.45 d.86?
Which of the equations listed below are linear equations?
In federalist no. 78, why did alexander hamilton call the judiciary the "least dangerous" branch of government?
in which was did america experience a direct military attack upon its own territory?A.ww1 B.ww2 C.vietnam war D.all of the above
a diameter of a circle has endpoints of (-5,6) and (-5,-2) what is the equation of this circle?
What happens if no candidate receives at least 270 votes from the Electoral College? Conduct research of secondary sources to assist you. Remember: Primary sou
what will be case of congrency ?