Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

lexicographic order python

my_arr = [
"hello",
"apple",
"actor",
"people",
"dog"
]

print(my_arr)
my_arr.sort()
print(my_arr)
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #lexicographic #order #python
ADD COMMENT
Topic
Name
1+5 =