python use curly brackets to insert variable in string? code example
Example 1: print curly bracket python
use '{{' and '}}'
Example 2: embed variables python
#Pre 3.6
print('Hi, my name is {name} and my age is {age}'.format(**locals()))
#After 3.6
print('Hi, my name is {name} and my age is {age}')