Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
set1 = {"apple", "banana", "cherry"} set2 = {"google", "microsoft", "apple"} set1.intersection_update(set2) print(set1)
{'apple'}