对于具有千位分隔符的打印号,可以使用python格式字符串:
'{:,}'.format(1234567890)
但是,如何指定我需要一个千位分隔符的空间?
python string-formatting
python ×1
string-formatting ×1