Install python somehow.
Enter your height from the keyboard.
height = float (input ("Please enter your height (cm):")) bmi = 22 std_weight = bmi * (height / 100) ** 2 print ("height:" + str (height) + "cm →", end = "") print ("Standard weight:" + str (std_weight) + "kg")
Execution result
Enter your height (cm): 172 Height: 172.0cm → Standard weight: 65.1kg
maybe.
Recommended Posts