python adicione vírgula cada formato de 3 dígitos
>>> total_amount = 10000
>>> print("{:,}".format(total_amount))
10,000
Testy Turtle
>>> total_amount = 10000
>>> print("{:,}".format(total_amount))
10,000