>>> stuff_in_string = "Shepherd %s is %d years old." % (shepherd, age) >>> print(stuff_in_string) Shepherd Martha is 34 years old.