print(f’{解析内容}’) 不讲究f大小写 scores = { '骆昊': 95, '白元芳': 78, '狄仁杰': 82} for key in scores: print(F'{key}: {scores[key]}')