diff --git a/Chapter_04/4-8_cubes.py b/Chapter_04/4-8_cubes.py new file mode 100644 index 0000000..4c10a9f --- /dev/null +++ b/Chapter_04/4-8_cubes.py @@ -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) \ No newline at end of file