Hello,

How would one find the list of variables in a monomial?

For example,

(p^2 * q^3).exponents()

returns

[(2,3)]

(without using a ring).

Is there a command that will return something like [(p,q)] or [(p,2),
(q,3)]?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to