python3 format command 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"))
print("Sammy the {pr} {1} a {0}.".format("shark", "made", pr = "pull request"))
print("Sammy ate {0:f} percent of a {1}!".format(75, "pizza"))