radix, convert to another base.
it is about radix, how can i convert a number in base 10 to base 7? thx
add a comment
The str method of integers does that:
sage: a = 12
sage: a.str(7)
'15'
Asked: 2020-05-25 12:06:26 +0100
Seen: 833 times
Last updated: May 25 '20
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.