python carefully extends the semantics of /and to cases where one or both operands are negative for the sake of notationlet us assume that variables and that and represent respectively the dividend and divisor of quotient / and python guarantees that will equal we already saw an example of this identity with positive operandsas when the divisor is positivepython further guarantees that < as consequencewe find that - / evaluates to - and - evaluates to as (- - when the divisor is negativepython guarantees that < as an example /- is - and - is - satisfying the identity (- (- (- the conventions for the /and operators are even extended to floatingpoint operandswith the expression / being the integral floor of the quotientand being the "remainderto ensure that equals for example / evaluates to and evaluates to as bitwise operators python provides the following bitwise operators for integersbitwise complement (prefix unary operatorbitwise and bitwise or bitwise exclusive-or <shift bits leftfilling in with zeros >shift bits rightfilling in with sign bit sequence operators each of python' built-in sequence types (strtupleand listsupport the following operator syntaxess[jelement at index [start:stopslice including indices [start,stops[start:stop:stepslice including indices startstart stepstart stepup to but not equalling or stop + concatenation of sequences shorthand for ( timesk val in containment check val not in non-containment check python relies on zero-indexing of sequencesthus sequence of length has elements indexed from to inclusive python also supports the use of negative indiceswhich denote distance from the end of the sequenceindex - denotes the last elementindex - the second to lastand so on python uses slicing