demo_string_placeholder9.py:
#Use "_" to add a underscore character as a thousand separator: txt = "The universe is {:_} years old." print(txt.format(13800000000))
➜ begtut>python demo_string_placeholder9.py
The universe is 13_800_000_000 years old.