Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
set1 = {"a", "b" , "c"} set2 = {1, 2, 3} set3 = set1.union(set2) print(set3)
x
set1
=
{
"a"
,
"b"
,
"c"
}
set2
=
{
1
,
2
,
3
}
set3
=
set1
.
union
(
set2
)
print
(
set3
)
{2, 'b', 'a', 'c', 3, 1}