First time here? Check out the FAQ!
answered 11 years ago
Well, instead of adding the {} by yourself why don't you let Sage do it instead ? You could write
... $A = \sage{Set(A)}$
instead of
... $A = \{ \sage{A} \}$
And
$\sage{Set(I.groebner_basis())}$
$\{ \sage{I.groebner_basis()} \}$