character output format , integer unsigned integer floating point as ddddd floating point as ddddde+/-xx floating point as ddddde+/-xx use % for exponents less than - or greater than + otherwise us % single character stringor any python data object that can be converted to string by using the str function insert literal character table string formatting conversion characters which words or spaces that will remain constant are combined with placeholders for variables that will be inserted into the string for examplethe statement print(name"is"age"years old "contains the words is and years oldbut the name and the age will change depending on the variable values at the time of execution using formatted stringwe write the previous statement as print("% is % years old (nameage)this simple example illustrates new string expression the operator is string operator called the format operator the left side of the expression holds the template or format stringand the right side holds collection of values that will be substituted into the format string note that the number of values in the collection on the right side corresponds with the number of characters in the format string values are taken in orderleft to right from the collection and inserted into the format string let' look at both sides of this formatting expression in more detail the format string may contain one or more conversion specifications conversion character tells the format operator what type of value is going to be inserted into that position in the string in the example abovethe % specifies stringwhile the % specifies an integer other possible type specifications include iufegcor table summarizes all of the various type specifications in addition to the format characteryou can also include format modifier between the and the format character format modifiers may be used to left-justify or right-justify the value with specified field width modifiers can also be used to specify the field width along with number of digits after the decimal point table explains these format modifiers the right side of the format operator is collection of values that will be inserted into the format string the collection will be either tuple or dictionary if the collection is tuplethe values are inserted in order of position that isthe first element in the tuple corresponds to the first format character in the format string if the collection is dictionarythe values are inserted according to their keys in this case all format characters must use the (name review of basic python