zfill函数
xs = ['00001','00013','00014','00002','00003','00022'] print (sorted(xs))
posted on 2019-08-08 17:54 黎明NB 阅读(3532) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 黎明NB Powered by .NET 8.0 on Kubernetes