fix BMI
This commit is contained in:
parent
948cc7cf17
commit
6555d8dfa2
|
@ -514,7 +514,7 @@ class HeightWeight(Seasonisable):
|
|||
@property
|
||||
def bmi(self):
|
||||
height = self.height / 100
|
||||
return self.weight / (self.height * self.height)
|
||||
return self.weight / (height * height)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.gymnast} : {self.height}/{self.hips_height} - {self.weight}"
|
||||
|
|
Loading…
Reference in New Issue