iterating in reverse
Nick Vargish
nav at adams.patriot.net
Fri Jan 17 15:58:49 EST 2003
"Steve Holden" <sholden at holdenweb.com> writes:
> Here's my own non-reversing solution. Again, it would need tweaking for
> negative numbers to avoid results like "-,123".
[...]
> I've even tested it.
Even in Python, TMTOWTDI... That one was great, thanks Steve.
Nick
--
#include<stdio.h> /* SigMask 0.3 (sig.c) 19990429 PUBLIC DOMAIN "Compile Me" */
int main(c,v)char *v;{return !c?putchar(*v-1)&&main(0,v+ /* Tweaks welcomed. */
1):main(0,"Ojdl!Wbshjti!=obwAqbusjpu/ofu?\v\1");} /* build: cc -o sig sig.c */
More information about the Python-list
mailing list