import reli = [1, 2, 3, 4, 5, 66, 7, 3, 54, 34, 34]# s = ''.join(str(li).split(',')).replace(' ', '').replace('[','').replace(']','')s = re.sub('[\s\[\]]', '', ''.join(str(li).split(',')))print(s)
posted on 2018-06-06 15:47 风-fmgao 阅读(111) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 风-fmgao Powered by .NET 9.0 on Kubernetes