I have the following string I need to format:
header = """
class SP{
function A{
return {}
}
"""
print(header.format('some_value;'))
What I try to print is:
class SP{
function A{
return some_value;
}
How do I escape the outer {} NOTICE THE IMBALANCED curly brackets