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
asked 2020-05-25 12:06:26 +0100
Anonymous
it is about radix, how can i convert a number in base 10 to base 7? thx
The str
method of integers does that:
sage: a = 12
sage: a.str(7)
'15'
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2020-05-25 12:06:26 +0100
Seen: 670 times
Last updated: May 25 '20