alexandraangel5796 alexandraangel5796
  • 16-12-2020
  • Computers and Technology
contestada

Which part of the input-process-output model is line 2 in the program below? strWeight = input("Enter your weight in pounds: ") # Line 1 weight = float(strWeight) # Line 2 print (weight) # Line 3 process output input planning

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 16-12-2020

Answer:

process

Explanation:

Given

The program in python

Required

What does line 2 represents

The line 2 of the program is: weight = float(strWeight)

And what it does is that it converts the input weight from string to float after the user supplies value for strWeight

This conversion not input, output, neither is it planning. It is process because according to the program it prepares variable weight to be printed as float on line 3

Answer Link

Otras preguntas

. Which one is most important in explaining the tremendous tidal heating that occurs on Io? a.Io is the closest to Jupiter of Jupiter's large moons. b.Io orbi
What happens to acceleration when Fnet increases and mass stays the same
someone explain please
Ellos _______ ir de viaje, pero tienen que trabajar. A. Desea B. DeSeas C. Deseamos D. Desean
Simply. If x = 4, evaluate -x. 20 points help!
A 4350 kg truck, driving 7.39 m/s, runs into the back of a stationary car. After the collision, the truck moves 4.55 m/s and the car moves 11.5 m/s, both in the
There are many good reasons to say no to drugs, alcohol and tobacco. One reason is.... to appear to be above other people. to plan for your future and to honor
Determine the intercepts of the line. y= 11x + 6
Which is the BEST way to rewrite Sentence (2) A) Leave Sentence (2) as it is Many people don't realize that pets from many common household sources are al
If a Border area of skin are removed