DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python set union
x
=
{
"apple"
,
"banana"
,
"cherry"
}
y
=
{
"google"
,
"microsoft"
,
"apple"
}
z
=
x
.
union
(
y
)
PREVIOUS
NEXT
Tagged:
#python
#set
#union
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit