Sympy for computer algebra
To fellow high school maths teachers: you can also use Basthon to cover "using a computer algebra system", thanks to the Sympy module.


Even in the console version, formulas are nicely shown with the pretty_print function. If you would rather not introduce it to students, print works too.

Computer algebra appears in the French maths curricula from the first year of high school to the final year.
I leave it to you to explain why this notation with brackets is not an interval!