Python Compiler : Python

#Use "," to add a comma as a thousand separator: txt = "The earth is {:,} years old." print(txt.format(4500000000))