people = [[55, 185], [58, 183], [88, 186], [60, 175], [46, 155]]
ranks = []
for i in range(len(people)):
rank = 1
for j in range(len(people)):
if people[j][0] > people[i][0] and people[j][1] > people[i][1]:
rank += 1
ranks.append(rank)
print(ranks)
To embed this project on your website, copy the following code and paste it into your website's HTML: