Bruno Desthuilliers a écrit : > <OT>answering to Dmitri O.Kondratiev<OT> (snip) > > def reverse(xs): > if xs: > return xs > else: > return (reverse (xs[1:])) + [xs[0]]
I meant: def reverse(xs): if not xs: (etc...) of course... <ot mode='private joke>' story stargaming, I caught it first this time !-) <*ot> -- http://mail.python.org/mailman/listinfo/python-list