concatenate - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: concatenate (/thread-16970.html) |
concatenate - mcgrim - Mar-22-2019 I am trying to concatenate 2 lists (L3 and L4) but L5 does not print any output. How come? L=[1,2] L3=3*L L4=[k**2 for k in L3] L5 = L3 + L4 print(L3) print(L4) list(L5) RE: concatenate - buran - Mar-22-2019 on line 10, you have list(L5) instead of print(L5)
|