how to make commas appear in integers in terminal python

38

>>> format(1234567, ',d')
'1,234,567'

Comments

Submit
0 Comments