I want to replace values in strings between two curly brackets.
e.g:
string = f"""
my name is {{name}} and I'm {{age}} years old
"""
Now I want to replace name, and age by some values.
render_param = {
"name":"AHMED",
"age":20
}
so the final output should be.
my name is AHMED and I'm 20 years old.