5 lines
162 B
Python
5 lines
162 B
Python
# Exercise 4-8 Cubes
|
|
# Learning Objective: Print a list of 10 cubse from 1 - 10 utilizing for loop.
|
|
|
|
values = [value**3 for value in range(1, 11)]
|
|
print(values) |