different objects that happen to have values that are deemed equivalent the precise notion of equivalence depends on the data type for exampletwo strings are considered equivalent if they match character for character two sets are equivalent if they have the same contentsirrespective of order in most programming situationsthe equivalence tests =and !are the appropriate operatorsuse of is and is not should be reserved for situations in which it is necessary to detect true aliasing comparison operators data types may define natural order via the following operatorsless than <less than or equal to greater than >greater than or equal to these operators have expected behavior for numeric typesand are defined lexicographicallyand case-sensitivelyfor strings an exception is raised if operands have incomparable typesas with hello arithmetic operators python supports the following arithmetic operatorsaddition subtraction multiplication true division /integer division the modulo operator the use of additionsubtractionand multiplication is straightforwardnoting that if both operands have type intthen the result is an int as wellif one or both operands have type floatthe result will be float python takes more care in its treatment of division we first consider the case in which both operands have type intfor examplethe quantity divided by in mathematical notation in pythonthe operator designates true divisionreturning the floating-point result of the computation thus results in the float value python supports the pair of operators /and to perform the integral calculationswith expression / evaluating to int value (the mathematical floor of the quotient)and expression evaluating to int value the remainder of the integer division we note that languages such as cc++and java do not support the /operatorinsteadthe operator returns the truncated quotient when both operands have integral typeand the result of true division when at least one operand has floating-point type