Converting decimal to another base

This is a completely different algorithm that involves dividing by the new base a number of times.

Let's convert 10 decimal to binary; we already know that the answer should be 1010.

Practice, Practice, Practice

You have been given a python program called "Base Changer". It will give you correct answers for base-conversion problems using any bases in the range 2 to 36.