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

Discussion in 'Python' started by Gabriel Genellina, Jan 4, 2010.

  1. 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
     
    Gabriel Genellina, Jan 4, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jay Parlar
    Replies:
    0
    Views:
    804
    Jay Parlar
    Mar 17, 2006
  2. Davy
    Replies:
    3
    Views:
    1,899
    Wildemar Wildenburger
    Nov 7, 2007
  3. Gabriel Genellina
    Replies:
    2
    Views:
    3,262
    Gabriel Genellina
    Jan 4, 2010
  4. Gabriel Genellina
    Replies:
    3
    Views:
    435
  5. Carlos

    Concatenate/De-Concatenate

    Carlos, Oct 12, 2012, in forum: VHDL
    Replies:
    10
    Views:
    913
Loading...

Share This Page