a = () b = () (() ()) (() ()) (() ()) (() < ()) (() == ()) (a.intersection(b)) (a.union(b)) (a.difference(b)) (b.difference(a)) (a.symmetric_difference(b)) (a | b) print( a ^ b) ( a & b)
时间: 2024-11-14 09:18:14
a = () b = () (() ()) (() ()) (() ()) (() < ()) (() == ()) (a.intersection(b)) (a.union(b)) (a.difference(b)) (b.difference(a)) (a.symmetric_difference(b)) (a | b) print( a ^ b) ( a & b)