DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
sort list alphabetically python
my_list = ['pera', 'apple', 'orange', 'grape'] my_list.sort() # ['apple', 'grape', 'orange', 'pera']
PREVIOUS
NEXT
Tagged:
#sort
#list
#alphabetically
#python
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit