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# Concatenation
2string1 = "str"
3string2 = "ing"
4string3 = string1 + string2
5# string3 is str + ing which is 'string'
6# OR
7print(string1 + string2) # prints 'string'
8
9# Format
10string3 = f"{string1}{string2}" # prints 'string'