Nested Lists | Python | HackerRank

preview_player
Показать описание
This video is about Nested Lists problem from HackerRank.

For 1 : 1 Tutoring
WhatsApp contact : 7278222619

Follow us on:
Whatsapp:
Telegram:

For Python homework help visit our sponsor site

WhatsApp contact : 7278222619

For 1 to 1 Python Tutoring

Facebook:

Linkedin:

Instagram:

#HackerRank #Python #NestedLists
Рекомендации по теме
Комментарии
Автор

I really liked the way you explained the logic and the code line by line and step by step, Keep this method alive for all the videos.

gauravgrover
Автор

I watched discussions on hackerrank, so many videos on youtube to explain this question to me but everyone was explaining this in such a complicated way that i thought that this was too difficult for me and was about to give up when i found this video... I truly believe now that if the teacher is great, you'll actually understand and enjoy coding!

trishasingh
Автор

Thank you Excellent teaching.

Instead of using another FOR LOOP in the end to just sort the names, we can use,

for val in sorted(res):
if m==val[1]
print(val[0])

karthikvenkataram
Автор

res=[]
grade=[]
for _ in range(int(input())):
name = input()
score = float(input())
res.append([name, score])
grade.append(score)
a=set(grade)
a.remove(min(a))
g=[]
for i in res:
if i[1]==min(a):
g.append(i[0])
for i in sorted(g):
print(i)
#i try this and it was also worked

bibekanandasahoo
Автор

Excellent teaching bro. Really I see so many but I can't understand .. once saw your video clear cut like this way of teaching

charankumar_
Автор

Awesome up the good work...First time got this type video on youtube

funnydirector
Автор

Thanks for such a wonderful explanation. I very much happy after seeing such a video. Thanks

trilochanrajesh
Автор

Wow!!! how perfectly you explained each line of the code, you explained all the logic behind each line so perfectly. Thankyou so much for the explanation. 😇

mahimakumari
Автор

Nice explanation I searched everywhere but all were shortcuts, thanks a lot

prashantchaudhary
Автор

Wow amazing and simple concept . thanku for your great explanation

kumodsharma
Автор

Best Explanation. Thank you so much. you are doing great job

healthyliving
Автор

You have made coding so easy.Thankyou so much

ankitamehta
Автор

i really like the way of your explanation .... you explanation is mind

abdulahad
Автор

thanks sir its really goad explanation for every one to understood code easily. and its very helpfull for me . u are great

ManojSingh-qitb
Автор

i didn't thought about using sets in the python
too good sir

gogodoc
Автор

Traceback (most recent call last):
File "Solution.py", line 10, in <module>
m=grade[1]
IndexError: list index out of rangeTraceback (most recent call last):
File "Solution.py", line 10, in <module>
m=grade[1]
IndexError: list index out of range

shrutijain
Автор

l1=[]
l2=[]
for i in range(int(input("Enter how many students: "))):
name=input("Enter your names: ")
marks=float(input("Enter numbers: "))
l1.append([name, marks])
l2.append(marks)
l2=list(sorted(set(l2)))
lo=l2[1]
l3=[]
for i in l1:
if lo==i[1]:
l3.append(i[0])
l3.sort()
for i in l3:
print(i)


my programme

luciferm-ue
Автор

your explanation helped a lot, thanks. keep up the good work.

sjoanC
Автор

This is Genious brother. Keep it up! And also solve the placement questions of company if you find !! Thanks again!!👍🏻

anupammishra
Автор

Really a great video. I understood really well. its very helpful. keep up the good work.
And pls post more of such videos

vaishnavii