python string templating code example
Example 1: template string python
print("Hello {planet}".format(planet='World'))
#or
i = "Hello"
print("{word} World".format(word= i ))
Example 2: new python string formatting
>>> f'Hello, {name}!'
'Hello, Bob!'