First time here? Check out the FAQ!
answered 2020-05-25 13:22:10 +0100
The str method of integers does that:
str
sage: a = 12 sage: a.str(7) '15'