xxxxxxxxxx
# Add 'f' or 'F' before the first quote to insert a variable
# you could also add .format after the quote.
name = "Eric"
age = 74
print( f"Hello, {name}. You are {age}." )
print( "Hello, {}. You are {}.".format(name, age) )
xxxxxxxxxx
>>> name = "Fred"
>>> f"He said his name is {name}."
'He said his name is Fred.'
xxxxxxxxxx
string_in_string = "Shepherd {} is on duty.".format(shepherd)