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

Give an example of a collision in real life. Use the law of conservation of energy to describe the transfer of momentum. Be sure and discuss the momentum before
What is range of 34,56,13,98, and 75? A) 23 B) 85 C) 56 D) 55.2
z to the power of 2 +26z-80=0
how to better my logic skills?
Which line segments are parallel in the diagram?
In "Let America Be America Again", the word lea in line 39 most nearly means the rugged and bare shores of the English coastline a grassland or meadow a sprawli
Explain why the amount of money in the account at the end of t years is given by the formula: P = P0(1 + r/n)^nt
26 gallons of gas cost 80.08 what is the unit rate for 1 gallon of gas
After treatment, an adolescent with a history of schizophrenia improves and is to be discharged. the parents tell the nurse that they are concerned about how to
Questions 5-7, please help