Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.python > #7650
| Path | csiph.com!news.fcku.it!bofh.it!tornado.fastwebnet.it!53ab2750!not-for-mail |
|---|---|
| Newsgroups | it.comp.lang.python |
| X-Mozilla-News-Host | news://news.fastwebnet.it:119 |
| From | Smith <smith@smith.it> |
| Subject | Iterazione Python |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Lines | 15 |
| Message-ID | <tW1Xy.44957$pt.24847@tornado.fastwebnet.it> (permalink) |
| Date | Fri, 6 May 2016 16:32:57 +0200 |
| NNTP-Posting-Host | 93.56.76.189 |
| X-Complaints-To | newsmaster@fastweb.it |
| X-Trace | tornado.fastwebnet.it 1462545177 93.56.76.189 (Fri, 06 May 2016 16:32:57 CEST) |
| NNTP-Posting-Date | Fri, 06 May 2016 16:32:57 CEST |
| Xref | csiph.com it.comp.lang.python:7650 |
Show key headers only | View raw
Ciao a tutti,
vorrei sapere perchè questo script non funziona:
numbers = [1,2,3,4,5]
letters = ["A", "B", "C"]
for x,j in map(None,numbers,letters):
print(x,j)
Mi restituisce questo messaggio d'errore:
for x,j in map(None,numbers,letters):
TypeError: 'NoneType' object is not callable
Grazie
Back to it.comp.lang.python | Previous | Next — Next in thread | Find similar
Iterazione Python Smith <smith@smith.it> - 2016-05-06 16:32 +0200
Re: Iterazione Python Andrea D'Amore <anddam+NOSPAM@brapi.net> - 2016-05-06 17:19 +0200
Re: Iterazione Python Smith <smith@smith.it> - 2016-05-06 21:54 +0200
Re: Iterazione Python Andrea D'Amore <anddam+NOSPAM@brapi.net> - 2016-05-06 22:12 +0200
Re: Iterazione Python Smith <smith@smith.it> - 2016-05-07 21:01 +0200
Re: Iterazione Python Smith <smith@smith.it> - 2016-05-07 21:03 +0200
Re: Iterazione Python Smith <smith@smith.it> - 2016-05-08 12:36 +0200
csiph-web