I'd like to know if you know other/better way (without max method) to get a key with the biggest score in a dictionary ? :
report_card = {'french' : 14,
'english' : 12,
'math' : 16,
'chemistry' : 19,
'sport' : 14}
max = 0
for subject, score in report_card.items():
if max < report_card[subject]:
max = report_card[subject]
for subject, score in report_card.items():
if max == report_card[subject]:
print(f"The subject with the highest score is {subject} with {score} points")