| Bitwise Inclusive OR¶
Description¶
Returns the result of bitwise OR of two integers.
Return Value¶
int
Time Complexity¶
#TODO
Remarks¶
Bitwise OR sets the bits in the result to 1 if either of the corresponding bits in the two operands is 1.
Example¶
>>> bin(0b1111 | 0b1111)
'0b1111'
>>> bin(0b1111 | 0b0000)
'0b1111'
>>> bin(0b0000 | 0b1111)
'0b1111'
>>> bin(0b1010 | 0b1111)
'0b1111'
See also¶
#TODO