Don't ask to ask, just ask | |
PerlMonks |
Re: Re: computing square root by hand -- no sqrt (golf, beginner)by Juerd (Abbot) |
on May 10, 2002 at 22:18 UTC ( [id://165794]=note: print w/replies, xml ) | Need Help?? |
print $ARGV[0]**.5
This is the best answer I've seen in this thread :) It's clear, short and very precise... I know that this is 18 strokes like yours, but this one prints a newline ;)
In Section
Meditations
|
|