1l = ['aaa', 'bbb', 'ccc']
2
3s = ''.join(l)
4print(s)
5# aaabbbccc
6
7s = ','.join(l)
8print(s)
9# aaa,bbb,ccc
10
11s = '-'.join(l)
12print(s)
13# aaa-bbb-ccc
14
15s = '\n'.join(l)
16print(s)
17# aaa
18# bbb
19# ccc
20
1>>> sentence = ['this','is','a','sentence']
2>>> '-'.join(sentence)
3'this-is-a-sentence'
1first_list = ["1", "2"]
2second_list = ["3", "4"]
3
4# Multiple ways to do this:
5first_list += second_list
6first_list = first_list + second_list
7first_list.extend(second_list)
8