I wrote a program that calculates the square root of a number using the Babylonian method. A function baby receives any number and returns a float.

https://github.com/DianaJU/Write/blob/master/baby.py

CC BY 4.0 WSQ13 by 5nbpppkkyj is licensed under a Creative Commons Attribution 4.0 International License.