+ 1
What does it mean?)
index = weight / (height * height
3 Answers
+ 2
Rouza this is body mass index ( bmi ) and in python will return a float
+ 2
Hi Rouza so let's get started.
The meaning is that the variable index will have a float type value, and will be the weight divided by the heightÂČ.
IMPORTANT TIP:
Use ** to get the potentiation of a number example:
Height ** 2 (height potentiated by 2)
Height ** 3 (height potentiated by 3)
0
The syntax is incorrect. The end parethesis isnât there