Pergunta de entrevista da empresa Instructure

Write a function that takes an input number and base integer and display the number according to the base.