Feat(compute): Multiply strpower and str done
Discover bug with str and * printing
This commit is contained in:
@@ -41,7 +41,16 @@ Generate and compute like a student!
|
||||
(2 / 3)^4
|
||||
2^4 / 3^4
|
||||
16 / 81
|
||||
|
||||
>>> e = Expression.from_str("x^2*x*x^4")
|
||||
>>> e_simplified = e.simplify()
|
||||
>>> print(e_simplified)
|
||||
x^7
|
||||
>>> for s in e_simplified.explain():
|
||||
... print(s)
|
||||
x^2 * x * x^4
|
||||
x^3 * x^4
|
||||
x^(3 + 4)
|
||||
x^7
|
||||
"""
|
||||
|
||||
from .expression import Expression
|
||||
|
Reference in New Issue
Block a user