Non-decimal radices/Convert: Difference between revisions

m
→‎Python: number to string: Enabled syntax highlighting
(simplify Python encoder)
m (→‎Python: number to string: Enabled syntax highlighting)
Line 2,605:
;Iterative:
 
<lang python>digits = "0123456789abcdefghijklmnopqrstuvwxyz"
 
def baseN(num, b):
9,655

edits