lucyrice6043 lucyrice6043
  • 22-02-2021
  • Computers and Technology
contestada

What is the output of this program?


numA=3

for count in range(4,7):

numA= numA+ count

Print(numA)


(YOU WILL BE MARKED AT BRAINLIEST)

Respuesta :

flyte013 flyte013
  • 23-02-2021

Answer:

18

Explanation:

the loop goes from 4 to 6

so after first loop numA = 3 + 4 = 7

second loop numA = 7 + 5 = 12

thirs loop numA = 12 + 6 =18

Answer Link
aidan24barry
aidan24barry aidan24barry
  • 24-03-2021

Answer:

18 is correct

Answer Link

Otras preguntas

What is found in every organ
estimate the product by rounding 2×6,254
describe a real life multiplication situation for which an estimate makes sense explain why it makes sense
What is the percent change from 72 to 90
What are 5 things that are elastic?
what do autotrophs do during photosynthesis
|w| + 1.2 > 0.8 solution or no solution
In order to win support for the Constitution, what did the Federalists promise to add?
To insert clip art into a document, what step should I take immediately after I find the clip art I want to insert? A. Use the scroll bars to view more choices
What is X divided by 5 if X=5? What is five to the first power? What is 5 divided by 0? Is it possible to subtract integers with negative signs? What is 1 plus