Factorials

M-a-S NO-MAIL at hotmail.com
Mon Sep 22 21:49:36 EDT 2003


"Julian Tibble" <chasm at rift.sytes.net> wrote in message news:slrnbmv319.9d2.chasm at galileo.rift...
> In article <fEJbb.61$eB.37 at twister.southeast.rr.com>, M-a-S wrote:
> > No difference on my computer (see my note at the end):
>
> <snip>
>
> > s *= 1 <--------------------------------- maybe this is your difference!
>
> oh dear :(
> damn typos

That's why I had in my code this:

assert f_rec == f_iter == f_xter == f_nter == f_rdc

for all the factorial values :)
And I like the Python's way of expressing multiple relations!

M-a-S






More information about the Python-list mailing list