demo_string_formatting6.py:
myorder = "I have a {carname}, it is a {model}." print(myorder.format(carname = "Ford", model = "Mustang"))
C:\Users\My Name>python demo_string_formatting6.py
I have a Ford, it is a Mustang.