Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
Now we know the operations and variables in Python. Let's write a program to calculate the BMI.
BMI = weight / (height * height)
Here weight is in kg (kilogram) and height is in mt (meters)
height with value 1.7weight with value 72.25bmi and calculate the value of BMI using the above formula.bmi into int type.print(bmi). You should get 25 not 25.0.
            Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Loading comments...