Bitwise Operators in Python - Left Shift and Right Shift | Python Tutorial in Tamil for Beginners

Sdílet
Vložit
  • čas přidán 14. 09. 2023
  • In this video, you will come to know,
    1. What is Bitwise Left Shift operator?
    2. How to perform Bitwise Left Shift Operation?
    3. What is Bitwise Right Shift operator?
    4. How to perform Bitwise Right Shift Operation?
    5. Whether Multiplying the given number with some power of 2 is same as Bitwise Left shift operation?
    6. Whether Dividing the given number with some power of 2 is same as Bitwise Right shift operation?
    #operatorsinpython #bitwiseoperators #bitwise
    #bitwiseOR #bitwiseAND #bitwiseOR #bitwiseNOT #bitwisexor #bitwiseleftshift #bitwiserightshift #carot #python #pythonprogramming #pythontutorial #pythontutorialforbeginners #computerscience #different #leftshiftoperator #rightshiftoperator
    Links of previous Videos in the Play list:
    1. Python Variables in Tamil
    • Python Variables in Tamil
    2. Python Numeric Data types in Tamil
    • Python Numeric Datatyp...
    3. Python Sequence Data types in Tamil
    • Python Sequence Dataty...
    4. Python Boolean, set and Dictionary Data types
    • Python Boolean, Set an...
    5. Python Identifiers in Tamil
    • Python Identifiers in ...
    6. Keywords in Python
    • Keywords in Python
    7. Operators in Python - Arithmetic Operators
    • Operators in Python - ...
    8. Operators in Python - Assignment Operators
    • Operators in Python - ...
    9. Operators in Python - Comparison Operators
    • Operators in Python - ...
    10. Operators in Python - Logical Operators
    • Operators in Python - ...
    11. Bitwise Operators in Python - Bitwise AND | Bitwise OR
    • Bitwise Operators in P...
    12. Bitwise Operators in Python - Bitwise NOT
    • Bitwise Operators in P...
    13. Bitwise Operators in Python - Bitwise XOR
    • Bitwise Operators in P...

Komentáře • 3

  • @sriharisivasubramaniam4804
    @sriharisivasubramaniam4804 Před 10 měsíci +8

    Never knew learning Python was this simple. Thank you for your efforts. Please keep it coming!

  • @dwarakanaths7944
    @dwarakanaths7944 Před 15 dny +1

    1110101010 is 938. I tried for 938

    • @jananisivapriya
      @jananisivapriya  Před 12 dny +1

      In this example, when you shift 1110101010 left by 3 positions, the bits are moved to left, and zeros are appended to the right. The final result is 1110101010000 which is equivalent to 7504. The term "discarded" can be confusing. When the left most bits are not 0's and when it is 1's it cannot be discarded. However, the left shift operation itself does not discard any bits until the operation is complete.