Advance sorted function : Python tutorial 163

preview_player
Показать описание
Guys please help this channel to reach 20,000 subscribers. I'll keep uploading quality content for you.

Python is easy programming language to learn and anyone can learn it, and these tutorials are 100% free in hindi.

You can share this playlist with your brother, sisters and friends. This will surely add some values to their life.

If you follow this complete playlist of python tutorial surely you will learn everything about python programming language.

This video is all about 'advance sorted function'.

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

Hello
I learned python with the help of your extremely informational videos thank you so much for making such great videos I am following it.

Thank you so

PRIYANKASINGH-vlwk
Автор

I have been seeing your videos from start and i am getting a clear cut understanding which you had ....keep it up....and add new videos to this existing playlist

dibyajitpattanayak
Автор

Here, sorted function applied only to list fruits. But you did not apply to dictionary fruits3 and tuple fruits2 Thusway, the output will come like as:
['grapes', 'mango', 'apple']

shaikgouseahmad
Автор

Sirjee I am watching your videos for seventh time now

mangeshsoni
Автор

Is tutorial m mistake h....aap hmesa fruits m hi sorted function run kar rahe ho.fruits2 m hona tha tuple k case m

himalayancave
Автор

awsm videos ...not at all boring ... Excellent Sir 😄

sonaliagnihotri
Автор

Bhai, this is also another awesome video. I am watching this for 5th time. Btw aap Kaun si theme use kar rah
e ho

prasadmhatre
Автор

You seem to be a musician or guitarist :P

vineetmimrot
Автор

for tuple you need to use print(sorted(fruits2)) but you are using fruits inside sorted. Is that correct ? Still you are using list instead of tuple.

learnwin
Автор

If I have dictionary inside it several dictionary are stored as value then we want to find maximum length string stored in particular key value pair of inside dictionary. How can we do this????

rachitmittal
Автор

bro sorted(fruits) hi likhna tha to fruits 2 fruits 3 q likha or edit bhi nhi kra wtf

pankajjatav
Автор

Can u tell me advance functions of bubble sort

IftikharAli-lgrd
Автор

Traceback (most recent call last):
File "advfunc.py", line 142, in <module>

TypeError: unhashable type: 'dict'
im getting this error i know that i have to write certain lines for using dict as key so it becomes hashable
is there any other solution
one solution i used currently is that intead of dict i made it in tuple and it works(tuples are immutable)

rmeena
Автор

I think you use a wrong variable name in sorted function for tuple and set

sportsdata
Автор

You have used fruits in place of fruit 1 and 2

avinashthakur
Автор

guitars=[
{'model' : 'Yamaha', 'price': 8000},
{'model' : 'Naptune', 'price': 50000},
{'model' : 'Venus', 'price': 35000},
{'model' : 'Taylor', 'price': 450000}
]
print( sorted(list(map(lambda item: item.get('price'), guitars))))

print( sorted( guitars, key = lambda item: item.get('price')))

mangeshsoni
Автор

Hello....U done a small mistake...I understand that ripple and set are immutable but....When u use sorted method for fruits2 and print only "fruits" not "fruits2" or Explain it please

hritiksachan
Автор

There is some error in a video at 2:05.

RaviKumar-dong
Автор

tuple is named fruits2 and list is fruit.. something is wrong i guess...

aleenadas
Автор

syntaxerror in python eof while parsing ye error q ata h sir

MukeshSingh-xqph