I need to print out a string that contains ${} with format() method
For example, I'd like to print out
"hello ${a} hello"
using this python code
print "{string1} ${a} {string1}".format(string1="hello")
However, I get KeyError'a', as format() expects an input string for {a}. How can I teach format() to ignore ${a}?