code: def dot(v1, v2):
      '''Computes the dot product of two vectors.
      '''
      x1, y1, z1 = v1
      x2, y2, z2 = v2
      return x1 * x2 + y1 * y2 + z1 * zf dot(v1, v2):
      '''Computes the dot product of two vectors.
      '''
      x1, y1, z1 = v1
      x2, y2, z2 = v2
      return x1 * x2 + y1 * y2 + z1 * z2
docs: Computes the dot product of two vectors.