input: Write a python function to compute the accuracy of predictions.
  assert compute_accuracy([1, 0, 1, 1], [1, 0, 0, 1]) == 0.75
  assert compute_accuracy([1, 1, 0, 0], [1, 1, 0, 0]) == 1.0
  assert compute_accuracy([1, 0, 0, 1], [0, 0, 0, 1]) == 0.75
output: def compute_accuracy(y_true, y_pred):
      correct = sum(t == p for t, p in zip(y_true, y_pred))
      return correct / len(y_true)