# 定义身高变量
height = 1.75
# 定义体重变量 
weight = 75
# 定义用户名变量
username = '小明'
# 求体质指数
bmi = weight / height**2
# 打印体质指数
print(f'{username}您好，您的体质指数为{round(bmi, 1)}')
# your code goes here
# 验证
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}您好，您的体质肥胖')
# 定义列表数据
score_list = [65, 92, 78, 90, 45, 83, 57, 96]
# 先要定义好字典的键值对
score_dict = {
    'high': [],
    'middle': [],
    'low': []
}
# 循环遍历
for score in score_list:
    # 验证
    if score >= 90:
        score_dict['high'].append(score)
    elif score >= 60:
        score_dict['middle'].append(score)
    else:
        score_dict['low'].append(score)

# 打印字典
print(score_dict)