computing with numbers * * * abs( abs(- for the most partoperations on floats produce floatsand operations on ints produce ints most of the timewe don' even worry about what type of operation is being performedfor exampleinteger addition produces pretty much the same result as floating point additionand we can rely on python to do the right thing in the case of divisionhoweverthings get bit more interesting as the table showspython (as of version provides two different operators for division the usual symbol is used for "regulardivision and double slash /is used to indicate integer division the best way to get handle on the difference between these two is to try them out / / notice that the operator always returns float regular division often produces fractional resulteven though the operands may be ints python accommodates this by always returning floating point number are you surprised that the result of / has at the very endrememberfloating point values are always approximations this value is as close as python can get when representing as floating point number