Run ID:71556

提交时间:2024-04-25 21:11:24

# 输入身高和体重 height_cm, weight_kg = map(int, input().split()) # 计算标准体重 standard_weight = (height_cm - 100) * 0.9 # 判断体重与标准体重的关系 if weight_kg > standard_weight * 1.1: print("fat") # 如果实际体重超过标准体重的1.1倍,则为肥胖 elif weight_kg < standard_weight * 0.9: print("thin") # 如果实际体重小于标准体重的0.9倍,则为瘦 else: print("standard") # 否则,属于标准范畴