def top_students(score_dict):
    total = 0
    count = 0

    for score in score_dict.values():
        total += score
        count += 1

    avg = total / count

    result = []

    for name in score_dict:
        if score_dict[name] > avg:
            result.append(name)

    result.sort()

    return result


scores = {"Kim": 80, "Lee": 95, "Park": 70}
print(top_students(scores))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: