def toStr(num , base):
    conv_string = "0123456789ABCDEF"
    if num<base:
        return conv_string[num]
    else:
        return toStr(num//base, base) + conv_string[num%base]

print(toStr(1453, 16))
d866ba88cad491d2eed7333bdbe8a843ce8b9b2a
<mask token>

def toStr(num, base):
    conv_string = '0123456789ABCDEF'
    if num < base:
        return conv_string[num]
    else:
        return toStr(num // base, base) + conv_string[num % base]


<mask token>

def toStr(num, base):
    conv_string = '0123456789ABCDEF'
    if num < base:
        return conv_string[num]
    else:
        return toStr(num // base, base) + conv_string[num % base]


print(toStr(1453, 16))

def toStr(num , base):
    conv_string = "0123456789ABCDEF"
    if num<base:
        return conv_string[num]
    else:
        return toStr(num//base, base) + conv_string[num%base]

print(toStr(1453, 16))