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

How does importing coal contribute to pollution?
For the expression 6 − y + 3, determine the coefficient for the variable term
What is the definition of active transport
What type of television show provides entertainment as well as information and tends to revolve around violence? a. infomercial b. infotainment c. procedural
The purpose of attachment is to: a. ensure that adults will take care of an infant. b. make sure infants are not depressed. c. keep infants healthy. d. keep
who painted the mo ma Lisa
Storm surges, floods, and high winds can cause severe damages during __________. a. earthquakes b. hurricanes c. tornadoes d. blizzards
Transferring or sharing electrons between atoms forms
The Islamic religion originated in seventh-century _________ and eventually spread across several continents. a. Europe b. China c. Africa d. Arabia
During the cold war, American relations with the Soviet Union were dominated by a. détente. b. foreign aid. c. containment. d. collective security.