Cube the Square Root

Published by BijogFc24 in

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.

Watch a quick demo on how Edabit works.