
Using format() in Python with placeholder values
In Python, you can use {} as placeholders for strings and use format() to fill
in the placeholder with string literals. For example:
print("You have {} apples.".format(5))
# this will print:
# You have 5 apples.
The format() method lets you list out the strings you want to place