Breaking News: Grepper is joining
Read the official announcement!
Check it out
February 24, 2022
More Related Answers
# Nested Lists in Python - Hacker Rank Solution # python2 solution score_list = ; # do not forget to declare a list for _ in range(int(raw_input())): name = raw_input() score = float(raw_input()) # Nested Lists in Python - Hacker Rank Solution START score_list.append([name, score]) second_highest = sorted(set([score for name, score in score_list])) print('\n'.join(sorted([name for name, score in score_list if score == second_highest]))) # Nested Lists in Python - Hacker Rank Solution END
Link to this answer
Contributed on Feb 24 2022
0 Answers Avg Quality 2/10
Search Code Snippets
Adding a Code Snippet
Viewing & Copying Snippets
Register to vote on and add code examples. Join our developer community to improve your dev skills and code like a boss!
Help us improve our code examples by registering to vote on and add answers. Join our developer community to improve your dev skills and code like a boss!
Continue with Google
By continuing, I agree that I have read and agree to Greppers's
Terms of Service