python 千位分隔符,

 

>>>'{:,}'.format(1234567890)
>>>'1,234,567,890'

 

posted @ 2019-01-07 13:06  anobscureretreat  阅读(5348)  评论(0编辑  收藏  举报