See the required changes https://github.com/TheAlgorithms/Python/pull/12710/files#r2080117333 ### Repository commit Same as #12710 ### Python version (python --version) Python 3.14 beta 1 ### Dependencies version (pip freeze) Same as: * #12710 ### Expected behavior Doctest results do not need to change between Python 3.13 and 3.14 beta. * #12710 ### Actual behavior See changes required in: * #12710