input: Write a function that takes a list of numbers from 1 to 8 and prints its cubic values. The function should iterate through the list, compute the cube of each number, and print it.
  assert print_cubes([1, 2, 3, 4, 5, 6, 7, 8])
output: def print_cubes(numbers):
      for num in numbers:
          print(num ** 3)