DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to convert a set to a list in python
my_set = set([1,2,3,4]) my_list = list(my_set) print my_list >> [1, 2, 3, 4]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#set
#list
#python
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit