python format(number with commas and decimal) code example Example: format python number with commas num = int(input()) print(f"{num:,}") #Hope this helps:)