Open gincheong opened 4 years ago
NOTATION = '0123456789ABCDEF' def function(number, n) : quotient, remainder = divmod(number, n) n = NOTATION[remainder] return function(quotient, n) + n if q else n
from https://brownbears.tistory.com/468
from https://brownbears.tistory.com/468