class_docstr: Represents ordinals in Cantor normal form.
  
  Internally, this class is just a list of instances of OmegaPower.
  
  Examples
  ========
  >>> from sympy import Ordinal, OmegaPower
  >>> from sympy.sets.ordinals import omega
  >>> w = omega
  >>> w.is_limit_ordinal
  True
  >>> Ordinal(OmegaPower(w + 1, 1), OmegaPower(3, 2))
  w**(w + 1) + w**3*2
  >>> 3 + w
  w
  >>> (w + 1) * w
  w**2
  
  References
  ==========
  
  .. [1] https://en.wikipedia.org/wiki/Ordinal_arithmetic
code: def degree(self):
      return self.leading_term.exp
  
imports: from sympy.core import Basic, Integer
  import operator
label_desc: Use image node_id 7 for calling the Ordinal obj's underlying member method code with example usage: obj.degree() and returns: self