The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Ian Kelly <ian.g.ke...@gmail.com>
Date: Mon, 8 Oct 2012 13:42:08 -0600
Local: Mon, Oct 8 2012 3:42 pm
Subject: Re: Insert item before each element of a list
On Mon, Oct 8, 2012 at 1:28 PM, <mooremath...@gmail.com> wrote:
Using the "roundrobin" recipe from the itertools documentation:
> What's the best way to accomplish this? Am I over-complicating it? My gut feeling is there is a better way than the following: >>>> import itertools
> I appreciate any and all feedback.
x = [1, 2, 3]
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||