Write a Python Program that:

Collects the following data from a user and stores each item in a variable with a suitable variable name.
 Their First name
 Their Age in Years (as a whole number)
 Their Weight in Kilograms (as a number that can contain a decimal fraction

Respuesta :

Answer:

To collect data from an user you need to use an input

Explanation:

Therefore,

firstName = input("First name: ")

ageInYears = input("Age in Years: ")

weightInKilograms = input("Weight in Kilograms: ")

and then print all the values:

print(firstName, int(ageInYears), float(weightInKilograms))