Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
a = {"apple", "banana", "cherry"} b = {"google", "microsoft", "apple"} a -= b print(a)
x
a
=
{
"apple"
,
"banana"
,
"cherry"
}
b
=
{
"google"
,
"microsoft"
,
"apple"
}
a
-=
b
print
(
a
)
{'cherry', 'banana'}