pyuser@deyu:~/zzz$ cat list6.py #!/usr/bin/python listx = [ 'a', 'b', 'c' ] listy = [ 'A', 'B', 'C' ] listx += listy print("listx =", listx)
pyuser@deyu:~/zzz$ ./list6.py listx = ['a', 'b', 'c', 'A', 'B', 'C']