A developer writes: print('{:,}'.format(1234567)). What is the output?
The comma format adds thousands separators.
Why this answer
Option B is correct. The format specifier ',,' is a thousands separator (comma) in the locale-agnostic sense for the US locale, producing commas every three digits. Option A has no commas.
Option C uses periods. Option D uses spaces.