ทดสอบ


weight = float(input('weight? (kg)'))

height = float(input('height ? (m)'))

bmi = round((weight/(height**2)), 2)

print('BMI = ',bmi)

weight = float(input(‘weight? (kg)’))

height = float(input(‘height ? (m)’))

bmi = round((weight/(height**2)), 2)

print(‘BMI = ‘,bmi)