formatted_str = f"My name is {name} and my favorite number is {num}"
eg:
perl -e '$x="AAA"; print "lowercase: ${\( lc($x) )}\n"'