Big Data with Spark - Flat 33% OFF Offer ends in
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 BMI to this variable
print(bmi). You should get