源代码
#Use "," to add a comma as a thousand separator: txt = "The universe is {:,} years old." print(txt.format(13800000000))
运行结果