Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring Sort List Item

mylist = ["mahmoud","samir","ahmed","ibrahim","mohammed"]
see mylist                # print list before sorting
mylist = sort(mylist)     # sort list
see "list after sort"+nl
see mylist                # print ahmed ibrahim mahmoud mohammed samir
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #Sort #List #Item
ADD COMMENT
Topic
Name
1+4 =