ThingsYouHateToSee
ThingsYouHateToSee ThingsYouHateToSee
  • 23-02-2021
  • Computers and Technology
contestada

Basic python coding
What is the output of this program? Assume the user enters 2, 5, and 10.
Thanks in advance!
:L

Basic python codingWhat is the output of this program Assume the user enters 2 5 and 10 Thanks in advanceL class=

Respuesta :

flyte013 flyte013
  • 23-02-2021

Answer:

17.0

Explanation:

after first loop numA = 0.0 + 2 = 2.0

after second loop numA = 2.0 + 5 = 7.0

after third loop numA = 7 + 10 = 17.0

Answer Link

Otras preguntas

Someone to help me with these questions.
Which of the following is the electron configuration of an atom in the ground state? (a) 1s2 2s1 (b) 1s2 2s2 2p5 3s2 (c) 1s2 2s1 2p6 (d) 1s1 2s2
A career is something that you train for and intend to do _______________.
what is half of 10,000
Phillis Wheatley was the first African-American woman to publish a book of poetry in America, and she did so while enslaved by John and Susannah Wheatley. Durin
Somebody help me with this question please!thank you
Some flowers have both male and female parts. With itself as the only parent, one of these flowers can still create offspring, this process is called ____
Read this excerpt from “Song of the Old Mother” by William Butler Yeats. I rise in the dawn, and I kneel and blow Till the seed of the fire flicker and glow; Wh
EASY PLS HELP Quentin's family worries that he has a substance abuse issue. what would most likely lead them to believe he is experiencing this critical health
15. What will be the volume of a given mass of oxygen at 250C if it occupies 100cm3 at 150C.? (Pressure remain constant)​