Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > TypeError: can only concatenate list (not "tuple") to list

Reply
Thread Tools

TypeError: can only concatenate list (not "tuple") to list

 
 
Gabriel Genellina
Guest
Posts: n/a
 
      01-04-2010
This
py> [1,2,3] + (4,5)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can only concatenate list (not "tuple") to list


--
Gabriel Genellina

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate/De-Concatenate Carlos VHDL 10 10-24-2012 01:04 PM
cannot concatenate 'str' and 'list' objects Νικόλαος Κούρας Python 42 09-15-2012 11:11 PM
Re: TypeError: can only concatenate list (not "tuple") to list Gabriel Genellina Python 3 01-05-2010 03:01 AM
TypeError: can only concatenate list (not "tuple") to list Gabriel Genellina Python 2 01-04-2010 09:39 AM
concatenate the elements in each list of a list of lists antar2 Python 3 07-23-2008 08:21 PM



Advertisments