Chapter 4: Problem 8
Cubes: A number raised to the third power is called a cube. For example, the cube of 2 is written as 2**3 in Python. Make a list of the first 10 cubes (that is, the cube of each integer from 1 through 10), and use a for loop to print out the value of each cube.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.