num = 123456 print(format(num, ','))