Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Curly-braces
0
votes
Q: How can I print literal curly-brace characters in python string and also use .format on it?
y = " \{ Hi\} {0} " print y.format(43) it's showing an error: Key Error: Hi\\ I want to print the output from the above syntax: {Hi} 43 Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
string
string-formatting
curly-braces
To see more, click for the
full list of questions
or
popular tags
.
...