Run
n = 123456789 output = format(n, ',') print(output)
Output