I need to generate a string where the variable should end up between {}. For instance, the result should be
{0.05} and {4}
I tried to get this using
"{{a}} and {{b}}".format(0.05, 4)
However, this leads to
{} and {}
How can I escape { and } such that it does format it using the variables.