+ 1
Is there any string method named "sorted" in python3?
12 Respostas
+ 8
????? ??????, it is also a bit confusing, when you show here a sample using reversed(). This does reverse the list, but does not any sorting. Reversed sorting is done like this:
sorted(a, reverse=True)
and it gives a sorting in descending order.
+ 3
Kiibo Ghayal
So then can i use "appended" or "reversed" as well?
+ 2
Kiibo Ghayal
Got it bro. . Thanks a lot...
Plz upvote my this post... Pleaseeess
+ 2
Hey Jaheen Khan
we use sorted() function to sort the elements Of List
And Yes You Can Use append() to add element at last position of the list and reverse() to reverse your list.
+ 2
đđąđąđđš đđĄđđČđđ„
Ohh thank u thank u...
I was searching this mention option.... đ
+ 2
Got it Ryan Daniel
Thnks a lot
+ 2
Glad To Help You Jaheen Khan
0
Yes