ramsoccercarlos ramsoccercarlos
  • 27-06-2022
  • Computers and Technology
contestada

What is output by the following code?
sum = 0
for i in range (3, 15, 3):
sum = sum + i
print ("Sum =
" +str( sum))

Respuesta :

Pulverizerr
Pulverizerr Pulverizerr
  • 28-06-2022

Answer:

Sum = 3

Sum = 9

Sum = 18

Sum = 30

Look at the image for more information.

Ver imagen Pulverizerr
Answer Link

Otras preguntas

Katie hair grows 7/8 of a centimeter each month how many centimeters will Katie hair grow over 5 months
can someone help me with percentage please
with all his gear, Neil Armstrong weighed 360 pounds on Earth. When he landed on the moon, he weighed 60 pounds. Why?
In research, the researcher ultimately wants to answer a question about... A. the sample B. the population C. the world
summarize the members of the Woman suffrage movement Where the voice Over The First ten amendments to see details from the text to Support you answer
What is the density of a block of salt having a mass of 8.0g and a volume of 25cm cubed
Which option best describes the impact of Alexander the Great and the Greek Empire on Egyptian culture? Alexander the Great and his conquering forces drove out
8. Alcohol is a central nervous system __________. A. stimulant B. depressant C. barbiturate D. B and C
QUESTION 30A ! if a=32 what must measure of D in order for abc to be similar to def? Pls help !!
5. If Aliyah’s paycheck doubles, she would be making $650 more per paycheck than John. Aliyah’s paycheck is $700 more than one half of Sara’s. Sara makes $2700