Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list methods in python

x = list()
print(type(x))      # Output: <class 'list'>
print(dir(x))       # Gives us all the list methods
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #list #methods #python
ADD COMMENT
Topic
Name
2+5 =