Result Size: 625 x 571
demo_string_formatting1.py:
x
 
price = 49
txt = "The price is {} dollars"
print(txt.format(price))
C:\Users\My Name>python demo_string_formatting1.py
The price is 49 dollars