def sec(item):
return item[1]
a=[('pen',10.00),('pencil',5.00),('books',100.00),('eraser',15.00)]
print(a)
a.sort(key=sec,reverse=True)
print(a)
OUTPUT :-
For Other Programs Visit The WebSite:- https://www.techapurba.com/
Follow Me On Social Media :-
Instagram link :- https://www.instagram.com/apurba_khanra/
INSTA photography page :- https://www.instagram.com/photo_mania_hub/
Twitter link : - https://twitter.com/ApurbaKhanra199
Facebook page link (Crazy Coders) :-https://www.facebook.com/codercrazy/?modal=admin_todo_tour
Insta photography link :- https://www.instagram.com/photo_mania_hub/
Facebook link :- https://www.facebook.com/profile.php?id=100009747586288
FB photography page :- https://www.facebook.com/photomaniahub/?modal=admin_todo_tour
For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/
2 Comments
Great Article
ReplyDeleteCloud Computing Projects
Networking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
mmorpg oyunlar
ReplyDeleteinstagram takipçi satın al
Tiktok jeton hilesi
tiktok jeton hilesi
Saç ekim antalya
instagram takipçi satın al
INSTAGRAM TAKİPCİ SATIN AL
metin2 pvp serverlar
instagram takipçi satın al