print(''.join(str(c) for c in [1,2,3,4]))
for循环与join配合使用,循环拼接列表成字符串
最新推荐文章于 2024-05-19 23:31:32 发布
print(''.join(str(c) for c in [1,2,3,4]))