Question: Need to write a pythone code that can do these things simple 7 line code dit the code for your BMI converter to do the
Need to write a pythone code that can do these things simple 7 line code
dit the code for your BMI converter to do the following
Obtain user input for height using an input() statement
Obtain user input for weight using an input() statement
Convert user entered height to a floating point data type
Convert user entered weight to a floating point data type
Calculate BMI using the formula:
BMI = 703 * (weight in pounds/height in inches squared)
Display the BMI with two decimal places using outputstring = '{:.2f}, such as:
Your BMI is: 25.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
