Respuesta :

ijeggs

Answer:

weightPound = float(input("Enter your weight in pounds "))

heightInches = float(input("Enter your height in inches "))

weightKg = weightPound*0.453592

heightMeter = heightInches*0.0254

BodyMassIndex = weightKg/(heightMeter*heightMeter)

print("")

print("Your Weight in kilograms is: ")

print(weightKg)

print("Your Height in meters is: ")

print(heightMeter)

print("Your Body Mass Index is: ")

print(BodyMassIndex)

Explanation:

  1. Above is a Python Script to accomplish the task
  2. See attached image for the program output.
  3. Observe that we used the formula weight/height*height to calculate the Body Mass Index
  4. Observe also the conversion from pounds to Kilogram and inches to meters
Ver imagen ijeggs
ACCESS MORE