division (/always returns float to do floor division and get an integer result (discarding any fractional resultyou can use the /operatorto calculate the remainder you can use % classic division returns float / floor division discards the fractional part the operator returns the remainder of the division result divisor remainder with pythonit is possible to use the *operator to calculate powers * * squared to the power of the equal sign (=is used to assign value to variable afterwardsno result is displayed before the next interactive promptwidth height width height if variable is not "defined(assigned value)trying to use it will give you an errorn try to access an undefined variable traceback (most recent call last)file ""line in nameerrorname 'nis not defined there is full support for floating pointoperators with mixed type operands convert the integer operand to floating point in interactive modethe last printed expression is assigned to the variable this means that when you are using python as desk calculatorit is somewhat easier to continue calculationsfor exampletax price price tax price round( this variable should be treated as read-only by the user don' explicitly assign value to it -you would create an independent local variable with the same name masking the built-in variable with its magic behavior since *has higher precedence than -- ** will be interpreted as -( ** and thus result in - to avoid this and get you can use (- )** an informal introduction to python