def returnBaseK(n, k):
    """Given base 10 number n and base k, return n converted to base k as a string"""
    s = ""
    while n > 0:
        s = s + str(n % k)
        n  = int(round(n // k))
    return s[::-1]