...

/

Challenge 6: List of Cubes

Challenge 6: List of Cubes

In the previous challenge, you created a list containing squares. Now let's try to generate a list containing cubes of numbers.

Problem Statement

Given a getCube() function, create a list with the cubes of the first 20 numbers. ...