(clogical errorswhen python detects nothing illegalbut you do not get the results you desire these errors are the hardest to trace down playing computer and additional print functions help [more playing computer (page ) type int(short for integer)(aliteral integer values may not contain decimal point [floatsdivisionmixed types (page )(bintegers may be arbitrarily large and are stored exactly [floatsdivisionmixed types (page )(cintegers have normal operationswith usual precedence (highest listed first) **exponentiation ( ** means * * [exponentiationsquare roots (page )ii *///%multiplicationdivision with float resultinteger division (ignoring any remainder)just the remainder from division [division and remainders (page )iii +-additionsubtraction [addition and subtraction (page ) type float(short for floating point)approximations of real numbers (aliteral values must contain decimal point to distinguish them from the int type [floatsdivisionmixed types (page )(bapproximates wide range of values [floatsdivisionmixed types (page )(cdoes not dependably store numbers exactly even numbers with simple decimal representation [floatsdivisionmixed types (page )(dhas the same operation symbols as for integersbut always with float result [floatsdivisionmixed types (page )(ea mixed binary operation with an integer and float produces float result [floatsdivisionmixed types (page ) type str(short for string)literal values contain sequence of characters enclosed in matching quotes (aenclosed in or "the string must be on one line [string delimiterspart (page )(benclosed in ''or """the string may include multiple lines in the source file [triple quoted string literals (page )(cescape codes inside literals include \for single quote and \ for newline [escape codes (page )(dbinary operations (operation symbols have the same precedence order as when the symbols are used in arithmetic[string concatenation (page ) stringexpression stringexpression concatenation (running togetherof the two strings ii stringexpression integerexpression integerexpression stringexpression repeat the string the number of times given by the integer expression (estring format methodi stringformatexpression formatparameter parameter parameter [string format operation (page )where stringformatexpression is any string with an arbitrary number of places for format substitutions in it formatted substitutions are enclosed in braces digit inside the braces will indicate which parameter value is substitutedcounting from if digits are left outthe format parameters are substituted in order the expression inside the braces can end with colon followed by format specifying string such as # where can be non negative beginning with python