In your step 4 example to remove letters from FLAMES you first remove L then F then S then suddenly you have FAM left when it should be AME because you already took the F but not the E. Shouldn't you wind up with just E at the end rather than M. Throwing a print statement into your code shows it also arriving at M through a different (also incorrect) series of removals.
In reply to Re: (Golf) FLAMES
by Anonymous Monk
in thread (Golf) FLAMES
by larryk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |