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

Doing a sale or store offered a 40% on a particular camera that was originally priced at $450 after the sale of the discounted price of the camera was increased
Its contains 3 liters of natural oil for every 2 liters of synthetic oil. In order to make 415 liters of petrol oil how manh liters of natural oil are needed
What structure is found mostly in green plants? A. Lysosome B. Chloroplast C. Cytoplasm D. Mitochondrion
In at least 150 words, compare and contrast the civil rights movement in Northern Ireland described by Bernadette Devlin in The Price of My Soul with the civil
Mindy and Troy combined ate 99 pieces of the wedding cake. Mindy ate 3 pieces of cake and Troy had 1/4 of the total cake.
How would I be able to do this problem
During which process does independent assortment of chromosomes occur?
¿cual es el perimetro total de un paralelogramo obicuo cuya base mide 2∛54x² cm , y cuyo lado oblicuo mide 3∛54x²?
Which of these is an example of a metaphor? A: America has given the Negro people a bad check… b: Now is the time to lift our nation… c: Now is the time to rise
An object that weighs 10 lb on earth would weigh only 4 lb on mars if you weigh 95 lb on earth how much would you weigh on Mars