def base10toN(num: int, base: int=12):
    """Change to given base upto base 36 is supported.

    Parameters
    ----------
        num : int
            Integer to be transform to new base.
        base : int
            Based to use write the integer.

    Return
    ------
        str
            String with number digits in new base.

    References
    ----------
        * http://code.activestate.com/recipes/577586-converts-from-decimal-to-any-base-between-2-and-26/
    """
    converted_string = ""
    currentnum = num
    if not 1 < base < 37:
        raise ValueError("base must be between 2 and 36")
    if not num:
        return '0'
    while currentnum:
        mod = currentnum % base
        currentnum = currentnum // base
        converted_string = chr(48 + mod + 7*(mod >= 10)) + converted_string
    return converted_string