字符串转列表(string format to list format)
s = 'Hello world'
s = [x for x in s]
列表转字符串(list format to string format)
s = ['H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']
s = "".join(s)
字符串转列表(string format to list format)
s = 'Hello world'
s = [x for x in s]
列表转字符串(list format to string format)
s = ['H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd']
s = "".join(s)