format python 3 with ; code example
Example 1: python string format
print("My name is {0} and I am {1} years old".format(name, age))
Example 2: str.format python 3
print("Sammy ate {0:f} percent of a {1}!".format(75, "pizza"))
print("My name is {0} and I am {1} years old".format(name, age))
print("Sammy ate {0:f} percent of a {1}!".format(75, "pizza"))