integersubstitute numerical value rounded to the specified number of places beyond the decimal point [floatsdivisionmixed types (page )example'word{}int{}formatted float{ fformat('joe' evaluates to'wordjoeint formatted float ii stringformatexpression format*dictionary the format expressions are the same as above except that key name from dictionary appears inside the braces the dictionary referenced appears in the parameter list preceded by *any value to be substituted is then taken from the dictionary by accessing the key exampleif defs is dictionary with defs['name'equaling 'joe'defs['num'equaling defs['dec'equaling then 'word{name}int{num}formatted float{dec fformat(**defsevaluates to the same string as in the previous example (page )[dictionaries and string formatting in particularthe dictionary reference can the the dictionary of all local variable namesby making the parameter to format be **locals([dictionaries and python variables (page )(fstrings are kind of sequence type list expression expression and so on expression [(aa literal list consists of comma separated collection of values all enclosed in square brackets there may be manyoneor no elements in the list [the list type (page )(ba list is kind of sequenceso it may be used as the sequence in for statement heading [basic for loops (page ) type dict (short for dictionarydict(returns an empty dictionary (aa dictionary provides an association of each key to its value the key can be any immutable typewith includes numbers and strings [definition and use of dictionaries (page )(bdictname keyexpression valueexpression associates in the dictionary dictname the key derived from evaluating keyexpression with the value derived from evaluating valueexpression [definition and use of dictionaries (page (cused in an expressiondictname keyexpression summary