string formatting python 3 inside the string code example
Example 1: str.format python 3
print("Sammy the {pr} {1} a {0}.".format("shark", "made", pr = "pull request"))
Example 2: str.format python 3
print("Sammy ate {0:f} percent of a {1}!".format(75, "pizza"))