Open
Description
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:
Expected behavior
Doctest results do not need to change between Python 3.13 and 3.14 beta.
Actual behavior
See changes required in: