list = [1, 2, 3]
a = [str(i) for i in list] # 将数字转换成字符串类型
print(a)
# 》》》》》打印结果为: ['1', '2', '3']
a = ''.join(a)
print(a)
# 》》》》》打印结果为: 123
list = [1, 2, 3]
a = [str(i) for i in list] # 将数字转换成字符串类型
print(a)
# 》》》》》打印结果为: ['1', '2', '3']
a = ''.join(a)
print(a)
# 》》》》》打印结果为: 123