This commit is contained in:
Gregory Trullemans 2023-11-21 09:18:25 +01:00
parent 948cc7cf17
commit 6555d8dfa2
1 changed files with 1 additions and 1 deletions

View File

@ -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}"