백준 11005번 제목 : 진법 변환 2
# Python3 n, b = map(int, input().split()) num_list = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' result = '' while n: result = num_list[n % b] + result n //= b print(result)