Quick actions

cmd+k|ctrl+k

Navigation

Languages

Set

Snippet info

Language

Python

Visibility

public

Author

shirley

Created

2025-10-15T13:30:10.90665Z

Updated

2025-10-15T13:30:50.270142Z

x = {1,2,3,4,5,6,5,2}
y = {7,8,3,9,5,1}
print(x & y) # interset
print(x | y) # union
print(x ^ y) #
INFO