可能重复: 如何使用逗号作为千位分隔符打印数字?
例如:
>> print numberFormat(1234) >> 1,234
或者Python中是否有内置函数来执行此操作?
python number-formatting
number-formatting ×1
python ×1