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

The left hemisphere of the brain controls the right side of the body.
only question one for now thanks
__________ implies that characteristics such as age or the date that someone joins a specific work team or organization should help us to predict turnover. A. A
You have a coin bank in the shape of a cylinder. It has a radius of 1.5 inches and a height of 5 inches. What is the surface area of the coin bank? Use 3.14 to
If 10 of the 50 apples are green than what percent of the apples are green
lison and her family went out to dinner to celebrate the end of the summer. Alison agreed to pay the tip from the money she earned from her summer job. The tota
(3) Why is the medical arms race less a problem today than it once was?
Metamorphosis must take place before amphibians are able to do what? A. swim B. live on land C. respire with gills D. feed themselves
Ralph jordan recently bought a new lawnmower for 228.00. If he had to pay 6% sales tax on the lawnmower, what wasthe total cost of the lawnmower? A:$251.62 B: 2
The "opposite" of ionization energy is A. atomic energy. B. electronegativity. C. molecular energy. D. electromagnetic energy.