{"id":26629,"date":"2022-04-02T20:12:38","date_gmt":"2022-04-02T14:42:38","guid":{"rendered":"https:\/\/python-programs.com\/?p=26629"},"modified":"2022-04-02T20:12:38","modified_gmt":"2022-04-02T14:42:38","slug":"use-of-right-shift-and-left-shift","status":"publish","type":"post","link":"https:\/\/python-programs.com\/use-of-right-shift-and-left-shift\/","title":{"rendered":"Use of Right Shift “>>” and Left Shift “<<\" Operators in Python"},"content":{"rendered":"

In Python, they are Bitwise Operators known as Bitwise left shift(<<) and Bitwise right shift(>>).<\/p>\n

What are Operators?<\/strong><\/p>\n

Operators are the special symbols used to do arithmetic and logical computations. Operators are used to alter values and variables. The value on which the operator operates is referred to as the Operand.<\/p>\n

Python Shift Operators<\/h2>\n

The shift operators are used to shift(move) the bits of a number to the left or right. The number is then multiplied or divided by two. In shifting operators, there are two types of shifting Processes.<\/p>\n