Re: Python Mystery Theatre -- Episode 2: Así Fue
Aahz
aahz at pythoncraft.com
Tue Jul 15 10:47:09 EDT 2003
In article <3F140F34.1030401 at mitretek.org>,
Chris Reedy <creedy at mitretek.org> wrote:
>
>Aside: I have to admit that the ((42,) * 2) did confuse me at first. I'm
>so used to doing 2 * (42,) when I want to repeat a sequence that I
>hadn't thought about the reversed form.
My experience is that most people do it the way Ray did, <seq> * <reps>.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Not everything in life has a clue in front of it...." --JMS
More information about the Python-list
mailing list