Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#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.