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

If the midpoint between (18, y) and (20, -15) is (19, -5), find the value of y.
Geometry  The diagonals of a  kite are in the ratio of 3:2. The area of the kite is 27 cm^2 .  Find the length of both diagonals. (Hint: Let the lengths of the
Do you think the Palmer Raids were a valid approach for a government to take? Explain
A test tube containing CaCO₃ is heated until the entire compound decomposes. If the test tube plus calcium carbonate originally weighed 30.08 grams and the loss
What is the x-coordinate of the point in the standard (x,y) coordinate plane at which the 2 lines y = 2x + 6 and y = 3x + 4 intersect? Can you please explain wi
What is x2 -6x-23=0 using square roots
When organisms must compete for resources, they will usually have a ____________ distribution. a. uniform b. random c. clumped d. competitive
What does karyote mean?
what word best describe chlorophyll
How many miles did the the russian empire stretch from east to west in 1861