Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which part of the input - process - output model is line 2 in the progr…

Question

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
output
input
process
planning

Explanation:

Brief Explanations

In the input - process - output model, input is getting data from the user, output is presenting results, and process is transforming input data. Line 2 converts the string input (from line 1) into a floating - point number, which is a data transformation operation.

Answer:

C. process