Python Snippets - Sorting and Reversing Lists

preview_player
Показать описание
#python #lists #sorting

This video showcases methods for sorting lists in Python, and for reversing the order of lists.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
Рекомендации по теме
Комментарии
Автор

Thanks you very much sir, it really really helped🙏

lebomcdonald
Автор

This is a method >>> age.sorted()
This is a function >>> sorted(age)
The main difference is that the sort() method sorts the list permanently. While the sorted() function sorts the list temporarily.

saikouomar
Автор

[::-1] AHHH AAAHAAA there it is!!! I am loving you man! TY!

stephen
Автор

Can we make list sort and reverse method with different objects like new_list = [1, 2, 3, 4, a, b]like that

swetha
Автор

Hi can you also make a video on how to sort a list and store it in another list please I cant find that type video hope you do it...

XB_HaidyX