height=1.75
weight=75
username='小明'
bmi=weight/height**2
print(f'{username}您好，您的体质指数为{round(bmi,1)}')
if bmi<=18.5:
   print(f'{username}您好，您的体质偏瘦')
elif bmi<=24.9:
   print(f'{username}您好，您的体质正常')
elif bmi<=29.9:
   print(f'{username}您好，您的体质超重')
else:
   print(f'{username}您好，您的体质肥胖')