Search

# Nested List | HackerRank

### Asked: Anonymously | Category: Python

n=int(input()) arr=[[input(),float(input())] for _ in range(0,n)] arr.sort(key=lambda x: (x[1],x[0])) names = [i[0] for i in arr] marks = [i[1] for i in arr] min_val=min(marks) while marks[0]==min_val: marks.remove(marks[0]) names.remove(names[0]) for x in range(0,len(marks)): if marks[x]==min(marks): print(names[x])

### Recent Posts

See All

#### Strong Language CodeChef April Long Challenge Solution| AskTheCode

CodeChef April Long Challenge 2021 Solution...Strong Language (SSCRIPT) solution in C++. AskTheCode...A string is said to be using strong...

#### Word Order - HackerRank Solution | AskTheCode

HackerRank Python Word Order Solution | Python programming | Ask The Code Problem: You are given n words. Some words may repeat...more

#### Write a function to check leap year - AskTheCode

Python program to check a year is leap or not | Python programming-Ask The Code Problem: Given a year, determine...it is a leap year...more