Python Tutorial to learn Python programming with examples
Complete Python Tutorial for Beginners Playlist :
Python Tutorial in Hindi :

Github :-

Lets work more on Operators.
In this video we will see:
– Bitwise Operators
– Example of Bitwise Operators
– Complement Operator
– Tilde sign
– Negative number, 2’s Complement
– Conversion to 1’s complement and 2’s complement
– AND Operator
– Finding Bitwise AND of numbers
– OR Operator
– Finding Bitwise OR of numbers
– XOR Operator
– Finding Bitwise XOR of numbers
– Left Shift Operator
– Right Shift Operator
– Example of Left shift and Right Shift Operators

Check out our website:

Follow Telusko on Twitter:

Follow on Facebook:
Telusko :
Navin Reddy :

Follow Navin Reddy on Instagram:

Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :

Nguồn:https://madisonrep.org/

41 Comments

Arpit Patel

March 27, 2020

why were you writing earlier zeros?
any logic?

Reply

Siddharth kumar

March 27, 2020

25^31=6(XOR will be 6)

Reply

shaswata mondal

March 27, 2020

How can I find ( 15 | 20 =31). As bin(15)=1111 and bin(20)=10100. Plz help

Reply

arvind s

March 27, 2020

i have tried inputing ~1 im getting result as -2 where for 0 im getting result as 1 which is right

Reply

fsaforo Saforo

March 27, 2020

Great video…if you could in the future videos slow down a bit that would be great. I looking for the "not" operator.

Reply

GOLU ROHILLA

March 27, 2020

ur style of doing bye is amazing

Reply

GAYATRI BARHTE

March 27, 2020

Which editing software do you use for your videos sir!PLZ reply.

Reply

Bissirat Negusse

March 27, 2020

In finding the complement of 12 in the paint you started to solve starting from 12 towards -13 and left it half way to come back from -13 into 12 using the 2complement formula but how would you solve the problem if you didn't know the complement was -13 in the first place.

Reply

SamShoumik Chowdhury

March 27, 2020

didnt understand binary should be 1101 and how to reverse feeling sick

Reply

TISHA AKTER

March 27, 2020

Thanks, sir for your wonderful video. It's helping me a lot. Thank you so much, sir.

Reply

ELURI PAVAN KUMAR

March 27, 2020

Bro in 1s complement we get last num as 1 then how we add 1s complement +1

Reply

Rahul masurkar

March 27, 2020

000000111 i.e 2*2+2+1=7

Reply

Devasish A

March 27, 2020

what if 1&2&3&4&5&………. ?

Reply

Devasish A

March 27, 2020

bin(12) = 1100 but why 0000 in the beginning ?

Reply

Devasish A

March 27, 2020

~1 = -2
~0 = -1

Reply

MEGHANA GN

March 27, 2020

It was amazing leasing to ur lecturing

Reply

Ravi Vendra

March 27, 2020

I am a bit confused about how ~12= -13. When it's also equal to -12 in binary. How can you tell the difference -12 or -13? Can anyone please explain me this concept. Deeply appreciated!

Reply

Personal File

March 27, 2020

Video is good but you have wrongly explained the right shift as in your explanation if 5 is the right shift by 2 then answer is 2 according to what you say but if you implement the correct answer is 1.

Reply

badhai ho

March 27, 2020

ek number i like its 1.58 Nokia 1100…..
Love it bruh

Reply

badhai ho

March 27, 2020

ek number i like its 1.58 Nokia 1100…..
Love it bruh

Reply

Adil Shaikh

March 27, 2020

print('Awesome teaching skills')

Reply

Blender Hander

March 27, 2020

Please make a video to tell us that why python or coding is used for mechanical engineers.

Reply

Nihar Ranjan

March 27, 2020

u r good teacher in python

Reply

shivam pal

March 27, 2020

how to convert binary to octal or octal to hexadecimal ?

Reply

Gigatless

March 27, 2020

Dude quit the indian accent we believe you are competent enough.

Reply

Pedro Hartmann

March 27, 2020

Really hard to understand accent

Reply

Ishan Bhanderiya

March 27, 2020

I have one doubt, someone please answer … isn't 12 just 1100 in binary why are we putting four extra zeroes in prefix ????

Reply

Vegan Forever

March 27, 2020

where we use and, or and shift in projects, for what ?

Reply

Pavan Kumar

March 27, 2020

Answer – in case of &- 24
In case of | – 31

Reply

Yash Kulkarni

March 27, 2020

Sir why you dont prefer pycharm over IDLE?

Reply

Thomas Griffen

March 27, 2020

Telusko == Best Teacher
True

Reply

teja self

March 27, 2020

~~~~~~5 value

Reply

Atish Maheshwari

March 27, 2020

Hi everyone, just further checked about complement's operator on google and found that for any number X , its complement operator ~X = -(X+1)
Example ~19 = -(19+1) = -20.
Feedbacks are welcome

Reply

Haritesh Kumar

March 27, 2020

the answer is "if we compare binary format of 25 and 30 as per your question in xor format the answer we get is 7 because the comparison we get is 00111 who's decimal format is 7"I think my answer is right :)"

Reply

Rishwanth Myanapuri

March 27, 2020

what is the difference between "and" and "&" in this python

Reply

GOVINDARAJU M P

March 27, 2020

sir i get doubt take an example 2^6^3 this problem how to do?

Reply

shubhang kulkarni

March 27, 2020

How is the complement of 12 '-13'?

Reply

Pooja Shrestha

March 27, 2020

a, b = 2,7
print(a and b)

Output: 7

Why is it so? When I use '&', it gives 2.

Reply

Muhammad azam

March 27, 2020

inplace operator

Reply

owais farooqui

March 27, 2020

accha padata hai ye banda ….ek number

Reply

CRAMATIONS DAM

March 27, 2020

i got 00111

Reply

Leave a Reply