code: def get_num_denom(c):
      r"""
      Given any argument on which :py:func:`~.is_rat` is ``True``, return the
      numerator and denominator of this number.
  
      See Also
      ========
  
      is_rat
  
      """
      r = QQ(c)
      return r.numerator, r.denominator
  
imports: from sympy.core.sympify import sympify
  from sympy.ntheory.factor_ import factorint
  from sympy.polys.domains.rationalfield import QQ
  from sympy.polys.domains.integerring import ZZ
  from sympy.polys.matrices.exceptions import DMRankError
  from sympy.polys.numberfields.minpoly import minpoly
  from sympy.printing.lambdarepr import IntervalPrinter
  from sympy.utilities.decorator import public
  from sympy.utilities.lambdify import lambdify
  from mpmath import mp
label_desc: Use image node_id 3 for calling a global function with example usage: get_num_denom(c) and returns: r,  r