Pregunta de entrevista de Next Insurance

Write a function that finds the root of a number