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


Groups > comp.lang.python > #62081

Re: Concatenate string list to number list to form title - Logic needed.

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:form': 0.07; 'solution,': 0.09; 'subject:number': 0.09; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'loop.': 0.16; 'loops': 0.16; 'parameters,': 0.16; 'ravi': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'please?': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'dec': 0.30; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'anyone': 0.31; 'another': 0.32; 'could': 0.34; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'list': 0.37; 'challenge': 0.61; 'information': 0.63; 'more': 0.64; 'subject:needed.': 0.91; 'to:none': 0.92; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=uFrJkBc1h+Vx9RzcdczDcuUgDF4iUy/MiqDcW/tsZjY=; b=iPOu4hMUzLLHMmedvAuQ+OmUiDGNCwZGu1SGO73X/ye+vjn3ovstNr0kHlvEweAJty xxRfKU9iIjrrCmkBRTscw477dm/JGhEuD/lqastQrkK61T+WRrNMzkoPgIkJrCSc5Cen GUWFk/pNz/qrkPkS7gYK1YNcGe7iILT2XyytcI/6hqNa+ycWdmC5jrLfgqZdjeaZOFN5 hkT/TUQii8b2ZpGER2mDnCXMbgqGi12NZWQMQHXe+30vlODxOcQMTfT0gUtxVyFNj2Ey g8FrakqpZqLHYS8JWwllIBQM38r4K6bZF9iM0saXsFtZ6/DY8574BMGNWMulWdjUT6Ag zSeg==
MIME-Version 1.0
X-Received by 10.66.65.134 with SMTP id x6mr21768243pas.142.1387214977184; Mon, 16 Dec 2013 09:29:37 -0800 (PST)
In-Reply-To <2333bfb4-cd72-4ed0-9b28-d8dbe26b5be2@googlegroups.com>
References <2333bfb4-cd72-4ed0-9b28-d8dbe26b5be2@googlegroups.com>
Date Tue, 17 Dec 2013 04:29:37 +1100
Subject Re: Concatenate string list to number list to form title - Logic needed.
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4224.1387214986.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387214986 news.xs4all.nl 2851 [2001:888:2000:d::a6]:43689
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62081

Show key headers only | View raw


On Tue, Dec 17, 2013 at 4:16 AM, Ravi Prabakaran <ravi.itm@gmail.com> wrote:
> Could anyone please guide me with best solution without loops ?
>

Why "without loops"? The best solution, in my opinion, is a loop. Is
this a specific challenge (homework)? I could make you a list
comprehension, but that's really just another form of loop

More information on the problem parameters, please?

ChrisA

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


Thread

Concatenate string list to number list to form title - Logic needed. Ravi Prabakaran <ravi.itm@gmail.com> - 2013-12-16 09:16 -0800
  Re: Concatenate string list to number list to form title - Logic needed. Chris Angelico <rosuav@gmail.com> - 2013-12-17 04:29 +1100
    Re: Concatenate string list to number list to form title - Logic needed. Chris Angelico <rosuav@gmail.com> - 2013-12-17 04:51 +1100
    Re: Concatenate string list to number list to form title - Logic needed. Chris Angelico <rosuav@gmail.com> - 2013-12-17 04:52 +1100
  Re: Concatenate string list to number list to form title - Logic needed. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-16 17:43 +0000
  Re: Concatenate string list to number list to form title - Logic needed. Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-12-16 20:13 +0200
    Re: Concatenate string list to number list to form title - Logic needed. Peter Otten <__peter__@web.de> - 2013-12-16 19:37 +0100
  Re: Concatenate string list to number list to form title - Logic needed. John Gordon <gordon@panix.com> - 2013-12-16 18:50 +0000
  Re: Concatenate string list to number list to form title - Logic needed. Terry Reedy <tjreedy@udel.edu> - 2013-12-16 15:23 -0500

csiph-web