We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
defclimbingLeaderboard(ranked,player):# Write your code hererank=[]foriinrange(len(player)):ranked.append(player[i])transformed=sorted(set(ranked),reverse=True)rank.append(transformed.index(player[i])+1)returnrank
Climbing the Leaderboard
You are viewing a single comment's thread. Return to all comments →
Not optimized