Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 470 Bytes

File metadata and controls

39 lines (31 loc) · 470 Bytes

<<= Bitwise Left Shift Assignment

Description

Performs bitwise left shift and assigns value to the left operand.

Syntax

A <<= B

A
Integer object.
B
Integer object.

Return Value

#TODO

Time Complexity

#TODO

Remarks

Equivalent to A = A << B.

Example

>>> b = 0b1111
>>> b <<= 1
>>> bin(b)
'0b11110'

See also

#TODO