源代码
price = 52 txt = "The price is {} dollars" print(txt.format(price))
运行结果