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

Jake can carry 6 1/4 pounds of wood in from the barn. His father can carry 15/7 times as much as Jake. How many pounds can Jakes father carry?
All of the following influence climate EXCEPT: a. average temperatures b. radio waves c. precipitation d. latitude
Individuals described as left of center have?
How did the introduction of factories change the way goods were made in the colonies?
Find the total cost for the nearest cent $58 bill; 20% tip
at a school number of boys : number of girls =9:7. There are 116 more boys than girls. Work out the total number of students at the school
Ms.fox asked her class is the sum of 4.2 and the square root of 2 rational or irrational
Which is an example of hybridization that would increase hybrid vigor?
20 oraciones usando verbo estar
How much grapefruit juice is needed to make 32 servings of fruit punch? A. 12 c B. 9 c C. 8 c D. 6 c Can someone help please