Enhance your Knowledge | Flat 25% Discount on all Courses | Use Coupon Code - ENHANCE25 During Checkout |Enroll Now
Now we know the operations and variables in Python. Let's write a program to calculate the BMI.
BMI = weight / (height * height)
weight is in kg (kilogram) and
height is in mt (meters)
bmiand assign the calculated integer value of BMI to this variable
print(bmi). You should get
Taking you to the next exercise in seconds...