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

An open metal tank of square base has a volume of 123 m^3 Given that the square base has sides of length x metres, find expressions, in terms of x, for the foll
The expression 8x2 − 64x + 720 is used to approximate a small town's population in thousands from 1998 to 2018, where x represents the number of years since 199
What level of organization are humans? *. a. Organ b. Community c. Ecosystem d. Population
Plz help and explain
Determine whether the graph is that of a function. An open circle indicates that the point does not belong to the graph.
Solve for: -2/3 divided by (-1/2)=
.If the polynomial f (x) = px3 + 4x2 + 3x - 4 and g(x) = x3 – 4x + p are divided by (x-3), then the remainder in each case is the same, find the value of p
Using a number line how do i find 5+(-3)?​
Find (f*g) (x) for the following functions. f(x) = 9x2 – 2x – 9 g(x) = 11x – 9
Which is not a function of a state party chairperson? A. identifying possible candidates B. raising money 3. nominating candidates D. unifying the party