Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert list to tuple python

>>> l = ['my', 'name', 'is', 'mr', 'list']
>>> l
['my', 'name', 'is', 'mr', 'list']
>>> tuple(l)
('my', 'name', 'is', 'mr', 'list')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #list #tuple #python
ADD COMMENT
Topic
Name
2+7 =