Ask Your Question

Revision history [back]

You can just use strings. Nothing fancy just printing out exactly what you want.

sage: a = 2
sage: b = 3
sage: print str(a)+"+"+str(b)
"2+3"