(n, base=10, digits=stddigits)
return "".join(digs[::-1])
Return the string numeral of a positive integer in an arbitrary
    base. Most efficient for small input.
Return the string numeral of a positive integer in an arbitrary
    base. Most efficient for small input.
Return the string numeral of a positive integer in an arbitrary base . Most efficient for small input .
def small_numeral(n, base=10, digits=stddigits):
    """Return the string numeral of a positive integer in an arbitrary
    base. Most efficient for small input."""
    if base == 10:
        return str(n)
    digs = []
    while n:
        n, digit = divmod(n, base)
        digs.append(digits[digit])
    return "".join(digs[::-1])
def small_numeral ( n , base = 10 , digits = stddigits ) : if base == 10 : return str ( n ) digs = [ ] while n : n , digit = divmod ( n , base ) digs . append ( digits [ digit ] ) return "" . join ( digs [ : : - 1 ] )