Source Code:
(back to article)
string = "{This is a string with curly braces}" formatted_string = "The value is: %s" % string print(formatted_string)
Result:
Report an issue