Overview
SymPy 1.13, released on July 15, 2024, requires Python 3.8+ and improves symbolic computation performance.
Main Features
Python 3.8+ only
Dropping Python 3.7 allows using modern language features and speeding up internal operations.
python
from sympy import symbols, solve, expand, factor
x, y = symbols('x y')
expr = x**3 - 6*x**2 + 11*x - 6
# Solving
solutions = solve(expr, x)
print(f'Roots: {solutions}') # [1, 2, 3]
# Factoring
print(factor(expr)) # (x - 1)*(x - 2)*(x - 3)
