Python Agregar coma cada formato de 3 dígitos

>>> total_amount = 10000
>>> print("{:,}".format(total_amount))
10,000
Testy Turtle