code: def dup_pexquo(f, g, K):
      """
      Polynomial pseudo-quotient in ``K[x]``.
  
      Examples
      ========
  
      >>> from sympy.polys import ring, ZZ
      >>> R, x = ring("x", ZZ)
  
      >>> R.dup_pexquo(x**2 - 1, 2*x - 2)
      2*x + 2
  
      >>> R.dup_pexquo(x**2 + 1, 2*x - 4)
      Traceback (most recent call last):
      ...
      ExactQuotientFailed: [2, -4] does not divide [1, 0, 1]
  
      """
      q, r = dup_pdiv(f, g, K)
  
      if not r:
          return q
      else:
          raise ExactQuotientFailed(f, g)
  
imports: from sympy.polys.densebasic import dup_slice, dup_LC, dmp_LC, dup_degree, dmp_degree, dup_strip, dmp_strip, dmp_zero_p, dmp_zero, dmp_one_p, dmp_one, dmp_ground, dmp_zeros
  from sympy.polys.polyerrors import ExactQuotientFailed, PolynomialDivisionFailed
label_desc: Use image node_id 40 for calling a global function with example usage: dup_pexquo(f, g, K) and returns: q