如何将 Sympy 中的 Union 对象转换为子间隔列表?
例如转换这个:
(-oo, a] U [b, oo)
对此:
[(-oo,a], [b,oo)]
python union list sympy
list ×1
python ×1
sympy ×1
union ×1