information = {
'Hrant': {'h': 1, 's': 2, 'w': 1, 'p': 1},
'Arame': {'h': 2, 's': 1, 'w': -2, 'p': 1},
'Tigran': {'h': 2, 's': 1, 'w': -2, 'p': 0},
'Alex': {'h': 2, 's': 2, 'w': 2, 'p': 1},
'AlexF': {'h': 2, 's': 1, 'w': -2, 'p': 0},
'Vahe': {'h': 1, 's': 1, 'w': 2, 'p': 1},
'David': {'h': -2, 's': -1, 'w': 0, 'p': -2},
'Gagik': {'h': -1, 's': -1, 'w': 0, 'p': -2},
'Ruben': {'h': -1, 's': -1, 'w': 0, 'p': -2},
'Max': {'h': -1, 's': 0, 'w': 0, 'p': -1},
'Anjelina': {'h': 1, 's': 2, 'w': 1, 'p': 1},
'Anahit': {'h': 2, 's': -2, 'w': -1, 'p': 0},
'Gohar': {'h': 1, 's': 1, 'w': 0, 'p': 1},
'Marina': {'h': 1, 's': 0, 'w': 0, 'p': 0},
'Eva': {'h': -1, 's': 2, 'w': 0, 'p': 1},
'Ina': {'h': 1, 's': 2, 'w': 1, 'p': 1}
}
points = {}
prev_points = 0
index = 0
for i in information:
personPoints = sum(information[i].values())
points[i] = personPoints
sorted_data = sorted(points.items(), key=lambda x: x[1], reverse=True)
for name, value in sorted_data:
if prev_points != value:
index += 1
print(f"{index}. {name}: {value}")
prev_points = value
To embed this program on your website, copy the following code and paste it into your website's HTML: