🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #27443

dynamiczna lista i krotka

#27443
From: zigi
Date: Wed, 05 May 2010 07:41
10 lines
1775 bytes
Witam
mam prosty problem ale jakoś nie mogę przebrnąć przez niego otóż,
posiadam dynamiczną liste np:
a = [1,2,3,4,5] lista może być różnej wielkości problem polega na tym
iż w zależnoći od ilości elementów w liście muszę stworzyć krotkę o
takiej samej długości z zawartością b = (0,0,0,0,0). Jakoś niemogę
wymyśleć skutecznego sposobu aby to rozwiązać.
Czy może ktoś wpadnie na jakiś pomysł ?
Dziękuję
Pozdrawiam.
Technical Details
Message-ID: <d7106010-510d-4f48-99fb-a7bce7d8b6f3@b18g2000yqb.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!feeder.erje.net!news2.arglkargh.de!news.wiretrip.org!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!b18g2000yqb.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!feeder.erje.net!news2.arglkargh.de!news.wiretrip.org!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!b18g2000yqb.googlegroups.com!not-for-mail
From: zigi <cezar4846@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: dynamiczna lista i krotka
Date: Wed, 5 May 2010 00:41:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 14
Message-ID: <d7106010-510d-4f48-99fb-a7bce7d8b6f3@b18g2000yqb.googlegroups.com>
NNTP-Posting-Host: 217.67.208.92
Mime-Version: 1.0
X-Trace: posting.google.com 1273045267 32484 127.0.0.1 (5 May 2010 07:41:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 5 May 2010 07:41:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b18g2000yqb.googlegroups.com; posting-host=217.67.208.92;  posting-account=KO8BxgoAAACCbIevmmXkvGNLzCGU-P0N
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;  Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR  3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Promedica24.pl;  OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 1.1.4322),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit