#10: Nested List | Hackerrank Python Solution | English Explanation

preview_player
Показать описание
All the videos of python hackerrank solution are available on channel
#nestedlistshackerranksolution #nestedlistssolution #python #hackerranksolution #hackerrankpythonsolution
Рекомендации по теме
Комментарии
Автор

AttributeError: 'str' object has no attribute 'sort' can you help me with this

darshiniakshaya
Автор

Hi bro...concept ok...i try doing this program..it throws error

hareeshbabussj
Автор

Got error
Min() arg is an empty sequence

sanjeshl.d
Автор

dic={}
l = list()

if __name__ == '__main__':
for _ in range(int(input())):
name = input()
score = float(input())
if score in dic:
dic[score].append(name)
else:
dic[score]=[name]
if score not in l:
l.append(score)
m = min(l)
l.remove(m)
m = min(l)
dic[m].sort
for i in dic[m]:

print(i)

justcoding
Автор

bro what mistake in my ode plz tell i sent my code

justcoding
visit shbcf.ru