how to add variable in a string in python code example
Example 1: how to add a variable to an string
var str = "ello";
var letter = "h";
str = letter + str;
Example 2: how to give a string value variable in python
foo = "bar"
exec(foo + " = 'something else'")
print bar
something else