Try
real_root(-1, 3)
It is also mentioned in the document line of the root function.
The reason is simple: sympy, like many systems of symbolic algebra, takes into account the complex plane when calculating the "root". There are 3 complex numbers that, when increased to 3, lead to -1. If you're just interested in the root of real meaning, be as clear as possible.
source
share