Example of formatting strings in Python

my_name = "Dmitri"
final_greeting = "How are you {}?"

print(final_greeting.format(my_name))
print(final_greeting.format("Bob"))
Output:
How are you Dmitri?
How are you Bob?