[Perl Golf] Round 1

Ben Finney ben+python at benfinney.id.au
Sun Feb 5 16:15:21 EST 2012


Alec Taylor <alec.taylor6 at gmail.com> writes:

> One sentence can contain one or more strings next to each-other, which
> can be joined to make another word.
>
> e.g.:
>
> "to get her" == "together"
> "an other" == "another"
> "where about" == "whereabouts"
>
> &etc

Yes, that's true.

> Solve this problem using as few lines of code as possible[1].

Easy::

    True

> Good luck!

What do I win?

-- 
 \        “All opinions are not equal. Some are a very great deal more |
  `\   robust, sophisticated, and well supported in logic and argument |
_o__)                                     than others.” —Douglas Adams |
Ben Finney



More information about the Python-list mailing list