NumPy: Create a function cube which cubes all the elements of an array ...

NumPy: Create a function cube which cubes all the elements of an array ...