python string contain variable code example
Example 1: 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}')
Example 2: how to add a variable to an string
var str = "ello";
var letter = "h";
str = letter + str;