<human>:  Python Add Comma Into Number String
<bot>: Here is some code to format floating point number `TotalAmount` to be rounded off to two decimal places and have a comma thousands' seperator

print('Total cost is: ${:,.2f}'.format(TotalAmount))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.