Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert set to list python time complexity method 3

# a is defined list
a = [1,2,3,'seeker',3,7.5]

t = {x for x in a} # set comprehension
print(t)
 
PREVIOUS NEXT
Tagged: #convert #set #list #python #time #complexity #method
ADD COMMENT
Topic
Name
1+9 =