Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19877

Re: [Perl Golf] Round 1

From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: [Perl Golf] Round 1
References <mailman.5442.1328442586.27778.python-list@python.org>
Date 2012-02-06 08:15 +1100
Message-ID <87r4y93rti.fsf@benfinney.id.au> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Alec Taylor <alec.taylor6@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[Perl Golf] Round 1 Alec Taylor <alec.taylor6@gmail.com> - 2012-02-05 22:49 +1100
  Re: [Perl Golf] Round 1 Ben Finney <ben+python@benfinney.id.au> - 2012-02-06 08:15 +1100

csiph-web