Re: Powers of 5



James Waldby <j-waldby@xxxxxxxx> writes:
You merely replaced "return (5 * power(n-1))" with
"return power(k-1)**2". Instead, make the function
split three ways -
if n <= 1 return 5,
else if n is even return the square of something,
else return power(n-1)*5.

Why are people mindlessly propagating the complete
falsity that 5^0 = 5?

You, James, should know better.

Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.
.



Relevant Pages

  • Re: child support enforcement? child support enforcement?
    ... SQUARE ... >Out of all the billions upon billions this administration and congress ... >has pissed away on god knows what, where are they looking to cut a ...
    (rec.sport.football.college)
  • Re: Pete Seeger on PBS last night
    ... *who never cared much for the self-righteous, square, white-bread, ... That's why I said thank god for Dylan. ... Pete Seeger any day of the week, even if my politics veer to the left. ...
    (rec.music.gdead)
  • Re: just so Im clear
    ... it aughta Be SQUARE ... >Bush can do as he pleases. ... >God created everything and all children should be taught this. ...
    (rec.sport.football.college)
  • Re: The logic of atheism
    ... > Turing proved nothing even remotely resembling that. ... It is an essential property of a square that be a geometric ... figure with four right angles. ... then their god is nothing. ...
    (talk.atheism)
  • Re: Anyone else getting REALLY tired..
    ... aughta Be SQUARE ... >..of this George Hamilton Dell TV commercial? ... >Good God. ... Every five fuckin' minutes. ...
    (rec.sport.football.college)