Get your own Python server Result Size: 625 x 565
x
 
price = 49
txt = "The price is {:.2f} dollars"
print(txt.format(price))
The price is 49.00 dollars