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

Select the correct answer. Andre was recently hired by an organization to check for system vulnerabilities. He is supposed to exploit these vulnerabilities and
Define the term culture
Hello. I am supposed to choose a topic for the IB Written task 2 for english. Does anyone have any ideas?
What’s is slope and how do you find rise over run
the country at the southern tip of africa is ______
An atom of element X has one more shell of electrons than an atom of beryllium, but it has one less valance electron than beryllium. Which element is X
Help me on number problem 4 and 5 please
Which ocean movement do power plants use to produce usable energy? A. currents B. drifts C. tides D. tsunamis
Which rights did women become more active in pursuing after achieving the right to vote? Select four options. a. equal pay b. equal treatment c. access to cred
What are four main functions of bones? protect organs, strengthen muscles, make skin cells, store nutrients strengthen muscles, make blood, store waste, allow m