DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to sort list in alphabetical order
heros=['spider man','thor','hulk','iron man','captain america'] heros.sort() print(heros)
PREVIOUS
NEXT
Tagged:
#sort
#list
#alphabetical
#order
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit