Completed 4-8 Cubes

This commit is contained in:
cheeks 2025-01-21 12:34:49 -05:00
parent 9981331fda
commit 12d60b76bb

5
Chapter_04/4-8_cubes.py Normal file
View File

@ -0,0 +1,5 @@
# 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)