Human: Python Add Comma Into Number String Assistant: 
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.