← Back to challenges

Cube the Square Root

PythonMediumalgebramathnumbers

Instructions

Create a function that takes a number as an argument and returns the square root of that number cubed.

Examples

cube_squareroot(81) ➞ 729

cube_squareroot(1646089) ➞ 2111932187

cube_squareroot(695556) ➞ 580093704

Notes

All numbers will evenly square root, so don't worry about decimal numbers.

python3
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Keyboard Mistakes