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.
- Prepare
- Python
- Basic Data Types
- Nested Lists
- Discussions
Nested Lists
Nested Lists
Sort by
recency
|
4729 Discussions
|
Please Login in order to post a comment
my solution:
if name == 'main': mylist = [] for _ in range(int(input())): name = input() score = float(input()) mylist.append([name,score]) mylist1 = [score1[1] for score1 in mylist] mylist1.sort() myset = set(mylist1) mylist3 = list(myset) mylist2 = [] for name,score in mylist: if score == mylist3[1]: mylist2.append(name) mylist2.sort() for name in mylist2: print(name)
Absolutely agree — the new interface feels clunky and less intuitive. The extra steps and obstructed view make it frustrating, especially when quick data access matters. As someone in corporate headshot dubai work, I rely on clear, efficient apps to plan outdoor shoots. The older UI let me check location-specific weather instantly, which helped a lot in scheduling.
if name == 'main': records = {} for _ in range(int(input())): name = input() score = float(input()) records[name] = score second_lowest_score = sorted(set(records.values()))[1] second_lowest_names = sorted(name for name, score in records.items() if score == second_lowest_score) for name in second_lowest_names: print(name)