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

Which country most directly helped the Americans win the Revolutionary War? A. Mexico B. Scotland C. Netherlands D. France
what word is used to describe knowledge about the universe and the method of obtaining that knowledge?
Imagine you are a farmer living in the hills of ancient Greece. Your brother-in-law, a fisherman who lives on the coast, has just come to visit, and the two of
T or F Dr. King called his brand of nonviolence "soul force".
pipe is 30 3/4inches long if 5 pieaces each 4 1/3 inches long are cut offthe pipe how many inchesof pipe is left
what is the fraction for 55%
how many 200 ml paper cups can fill from a 2 liter jug of lemonade
A number is multiplied by 5. If 12 is added to the product you get 37.
write 405,000 in scientific notation
Which of the following digits could be in the ones place if a number is divisible by 2? A. 0 b. 1 c. 3 d. 5