The babylonian method was not that hard, you just have to understand the formula.
The variable root can take any value.
https://github.com/lulisgarciap/wsq11/blob/master/wsq13.py
#wsq13 by Lourdes García is licensed under a Creative Commons Attribution 4.0 International License.