Run »
#Use "," to add a comma as a thousand separator: txt = "The universe is {:,} years old." print(txt.format(13800000000))
The universe is 13,800,000,000 years old.