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

Does anyone know this stuff? I’m so confused already
List down four business ideas you have in mind. Explain why these are your choices using five sentences per each business idea.
Which of the following is considered the largest of the early American civilizations A. the Aztecs B. The Inca C. Them Olmec
Please help!!! What is the biggest ocean in the world? What country has the largest population in the world?
How were Japan's actions before and during World War II similar to Germany's actions over the same period? A. Both countries invaded neighboring countries to e
This is a picture of a plant cell. Select all organelles listed here that you would also find in an animal cell. Choose all that apply: 12 8 4 1 2
What kind of macromolecule is shown below? OA. Carbohydrate O B. Nucleic acid O C. Water O D. Lipid​
I have a 97 and if I make a 0/300 on a project what will my grade be?
What is the square root of 2π√a anyone who answers correct will be given BRAINIEST ANSWER​
Which alternatives to drug and alcohol use have the added benefit of physical exercise? Select all that apply. Hiking Dancing Watching tv Meditation