DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+8 =
Submit