Operator =
Binds a name to the object produced by the right-hand expression.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
Binds a name to the object produced by the right-hand expression.
Binds the result of an expression to a name and also yields that result.
Keeps the bit positions set in both integers.
Clears the stored integer bits that also occur as zeroes in the mask on the right.
Inverts every bit of a Python integer.
Sets every bit position present in either integer.
Sets the indicated bits in the stored integer while preserving the bits already present.
Sets exactly the bit positions where the operands differ.
Toggles precisely the stored bits selected by the mask on the right.
Selects one of two expressions according to a truth test.
Computes the true quotient of two numbers.
Divides the stored number by the right operand and replaces it with the true quotient.
Compares values using the equality protocol.
Raises the left operand to the power on its right.
Raises the stored value to the specified power and assigns the result to the same target.
Rounds the quotient down to the nearest integer at or below its value.
Divides the stored value and writes the quotient rounded toward negative infinity back to the target.
Tests whether the left value is greater than or equal to the right value.
Tests strict descending order between comparable operands.
Tests whether two references designate the same object.
Selects an item by index or a subsequence by slice.
Tests whether two values compare unequal.
Shifts all integer bits left by the count on the right.
Multiplies a stored integer by a power of two through a left shift and updates the target.