"Krystle Scott" <[EMAIL PROTECTED]> wrote
>i need to write an algorithm for computing square roots.
We don;t do homework here but we can help with specific
questions and to resolve errors.
> import math
>
> def main ():
> print " This program computes approximate square roots using
> Newt
Krystle Scott wrote:
> i need to write an algorithm for computing square roots.
> so far I have
This sounds like a class exercise. I think we can help you with
Python questions, but you'll need to do the part that is directly
related to your homework on your own.
> import math
>
> def main ():
i need to write an algorithm for computing square roots.
so far I have
import math
def main ():
print " This program computes approximate square roots using Newton's
method: "
print
input = (" Enter whose square root you wish to compute (a) : ")
input = (" Enter the number