Examples using format with names



examples/format/format_with_names.py
txt = "Foo Bar"
num = 42.12

print("The user {name} was born {age} years ago.".format(name = txt, age = num))

The user Foo Bar was born 42.12 years ago.