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/
why were you writing earlier zeros?
any logic?
25^31=6(XOR will be 6)
How can I find ( 15 | 20 =31). As bin(15)=1111 and bin(20)=10100. Plz help
i have tried inputing ~1 im getting result as -2 where for 0 im getting result as 1 which is right
Great video…if you could in the future videos slow down a bit that would be great. I looking for the "not" operator.
ur style of doing bye is amazing
Which editing software do you use for your videos sir!PLZ reply.
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.
didnt understand binary should be 1101 and how to reverse feeling sick
Thanks, sir for your wonderful video. It's helping me a lot. Thank you so much, sir.
Bro in 1s complement we get last num as 1 then how we add 1s complement +1
000000111 i.e 2*2+2+1=7
what if 1&2&3&4&5&………. ?
bin(12) = 1100 but why 0000 in the beginning ?
~1 = -2
~0 = -1
It was amazing leasing to ur lecturing
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!
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.
ek number i like its 1.58 Nokia 1100…..
Love it bruh
ek number i like its 1.58 Nokia 1100…..
Love it bruh
print('Awesome teaching skills')
Please make a video to tell us that why python or coding is used for mechanical engineers.
u r good teacher in python
how to convert binary to octal or octal to hexadecimal ?
Dude quit the indian accent we believe you are competent enough.
Really hard to understand accent
I have one doubt, someone please answer … isn't 12 just 1100 in binary why are we putting four extra zeroes in prefix ????
where we use and, or and shift in projects, for what ?
Answer – in case of &- 24
In case of | – 31
Sir why you dont prefer pycharm over IDLE?
Telusko == Best Teacher
True
~~~~~~5 value
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
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 :)"
what is the difference between "and" and "&" in this python
sir i get doubt take an example 2^6^3 this problem how to do?
How is the complement of 12 '-13'?
a, b = 2,7
print(a and b)
Output: 7
Why is it so? When I use '&', it gives 2.
inplace operator
accha padata hai ye banda ….ek number
i got 00111