Search
 
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
Name
7+6 =