class_docstr: A simple implementation
  of a polynomial class that
  records the details about two polynomials
  that are potentially comprised of multiple
  variables.
class_docstr_tok: ["A","simple","implementation","of","a","polynomial","class","that","records","the","details","about","two","polynomials","that","are","potentially","comprised","of","multiple","variables","."]
docstr: Get a string representation of
  the polynomial.
docstr_tok: ["Get","a","string","representation","of","the","polynomial","."]
code: def __str__(self) -> str:
      """
      Get a string representation of
      the polynomial.
      """
      return " + ".join(
          str(m)
          for m in self.all_monomials()
          if m.coeff != Fraction(0, 1)
      )
  
imports: from fractions import Fraction
  from typing import Dict, Union, Set, Iterable
  from numbers import Rational
  from functools import reduce
label_desc: Use image node_id 13 for calling the Polynomial obj's underlying member method code with example usage: obj.__str__() and returns: str