input: Write a function to compute the cube of a given integer input. If the input is not an integer, raise a ValueError. The function should then print the cube of the given integer.
  assert compute_cube(3)==27
  assert compute_cube(10)==1000
  assert compute_cube(0)==0
  assert compute_cube(-1)==-1
  try:
      compute_cube("a")
  except ValueError:
      pass
output: def compute_cube(n):
      if not isinstance(n, int):
          raise ValueError
      result = n ** 3
      print(result)
      return result