human
print number with commas as thousands separators
assistant
Here is some code to print number 1255000 as thousands separators

locale.setlocale(locale.LC_ALL, 'en_US')
locale.format('%d', 1255000, grouping=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.