Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list methods in python

l1 = [1, 8, 7, 2, 21, 15]

 l1.sort() # sorts the list
  print(l1)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #list #methods #python
ADD COMMENT
Topic
Name
6+1 =