This may sound similar to many other questions, but I couldn't find an answer to mine. I'm wondering if you can switch the number system of any number. For example,
x = 10
y = int(10, 3)
How can I switch x into a base-3 number system? This is the solution I've seen but it hasn't worked. I know that for binary, decimal, and hexadecimal systems there is a separate function but I don't know of anything for other number systems.