Python fügen Sie das 3 -stellige Format für jeweils 3 Ziffern hinzu

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