On 4/21/2013 1:12 PM, Lele Gaifax wrote:
"Robert Yacobellis" writes:
I've noticed that the str join() method takes an iterable,
Specifically, it takes an iterable of strings. Any iterable can be made
such iwth map(str, iterable) or map(repr, iterble).
>> so in the
most general case I'm s
On Sun, 21 Apr 2013 09:09:20 -0500, Robert Yacobellis wrote:
> Greetings,
>
> I'm an instructor of Computer Science at Loyola University, Chicago, and
> I and Dr. Harrington (copied on this email) teach sections of COMP 150,
> Introduction to Computing, using Python 3. One of the concepts we te
"Robert Yacobellis" writes:
> I've noticed that the str join() method takes an iterable, so in the
> most general case I'm suggesting to add a join() method to every
> Python-provided iterable (however, for split() vs. join() it would be
> sufficient to just add a join() method to the list class)
Greetings,
I'm an instructor of Computer Science at Loyola University, Chicago, and I and
Dr. Harrington (copied on this email) teach sections of COMP 150, Introduction
to Computing, using Python 3. One of the concepts we teach students is the str
methods split() and join(). I have a suggest