Goal: create a function that takes a list of strings as its arguments and returns the characters of those strings in reversed order. That's it!
More than meets the eye. I'm betting a handful of you get an answer of 14 characters, but there might be a couple who slip through and figure out the trick to save a character, and another few to get it down to 11.print R(123); # 321 print R(12,34,56); # 654321 sub R {...} # <-- my best score: 11
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (Golf) Reversal
by MeowChow (Vicar) on May 02, 2001 at 08:55 UTC | |
by japhy (Canon) on May 02, 2001 at 09:10 UTC | |
by MeowChow (Vicar) on May 02, 2001 at 10:12 UTC | |
by Masem (Monsignor) on May 02, 2001 at 20:45 UTC | |
by btrott (Parson) on May 02, 2001 at 20:56 UTC |