#14 Python Tutorial for Beginners | Python BitWise Operators

  Рет қаралды 1,159,129

Telusko

Telusko

Күн бұрын

Пікірлер: 1 400
@farmerfomIndia
@farmerfomIndia 6 жыл бұрын
We need lecturers like you in the colleges
@XJacksonvilleX
@XJacksonvilleX 4 жыл бұрын
so i wont go to college antmore, happy didn't happen
@adheshsuryatej8510
@adheshsuryatej8510 4 жыл бұрын
if that could be possible, my attendance would be 100%
@rajtiwari6645
@rajtiwari6645 4 жыл бұрын
@@adheshsuryatej8510 i know even if it happens your attendance still won't be 100%.
@abhileswar
@abhileswar Жыл бұрын
@@rajtiwari6645 😂
@tanveershaik5832
@tanveershaik5832 Жыл бұрын
100%
@sathi-mu3tk
@sathi-mu3tk 3 жыл бұрын
Yes he is the Angel for the programming language,he is teaching very perfectly without doubts and easily in less time thank you so much sir if teachers like you are there in college every student become as a programmer☺
@jokergaming3884
@jokergaming3884 5 жыл бұрын
print("nice teacher of python")
@vedclove
@vedclove 4 жыл бұрын
loop
@technicprince5011
@technicprince5011 4 жыл бұрын
the ans will be Navin Sir
@AI_CANISTER
@AI_CANISTER 4 жыл бұрын
Ans nice teacher of python
@asmit6555
@asmit6555 3 жыл бұрын
🙌
@__vijay__kumar
@__vijay__kumar 3 жыл бұрын
@@asmit6555 also 11110011 is binary form of 243. So why did it gave -13 rather than 243??
@nehaaadarsh
@nehaaadarsh 4 жыл бұрын
When I start learning with you I forget about questions, You automatically tell everything
@lack_of_awareness
@lack_of_awareness 4 жыл бұрын
@Lightning Beast.X that’s not what he means lol
@meenakshi.v7385
@meenakshi.v7385 3 жыл бұрын
exactlyyy, cause I was searching for pi key and he was on cue
@chandusugithi1822
@chandusugithi1822 3 жыл бұрын
Can you say how to click right shift in windows 10
@letmecode1767
@letmecode1767 3 жыл бұрын
@@chandusugithi1822 it's shift+ less than symbol (
@rupeshagrawal9600
@rupeshagrawal9600 3 жыл бұрын
I am also aproduct from UCER
@Dhananjoybhatta123
@Dhananjoybhatta123 4 жыл бұрын
That was the best session as of now. I loved the way you make me understand the depth of a concept. I would love to learn from you in your next videos.
@nimitagarwal6352
@nimitagarwal6352 4 жыл бұрын
very good videos..... actually this is the toughest one i had reached till now on his playlist of python programming
@atul2219
@atul2219 3 жыл бұрын
agree yaa this one is toughest till i saw
@kazutokirigaya4422
@kazutokirigaya4422 3 жыл бұрын
same
@easy_abhiyantriki
@easy_abhiyantriki Жыл бұрын
You are the just the bestt..!!!! You are lord of the programming. Seriously I paid thousands to learn python but got no clarity. and look here this is freee and in the best representation!!! thanks naveen sir! you are doing a great job!
@shivaprasadmallikarjunaiah3751
@shivaprasadmallikarjunaiah3751 Жыл бұрын
Now you need to get your thousands back ...but I guess it has been right-shifted (x >> 10) from your wallet 🙄
@vahidrezaarabpour
@vahidrezaarabpour 4 жыл бұрын
I always had this problem figuring out the bitwise operators. But now I totally got them. Thank you 😊
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
Yes sir nice discussion.. Sir we want at least two quality, in depth, in detailed and easily discussed videos daily from such a great instructor/teacher like you.. Lots of love and respect for you sir 🙏🙏..
@farhanaziz1177
@farhanaziz1177 2 жыл бұрын
One of the best programming teachers on KZbin
@Hrit
@Hrit 4 жыл бұрын
One of the best teachers I've found on youtube. Very clean explanation. Thank you.
@srikiran6658
@srikiran6658 5 жыл бұрын
Wow i have been watching ur videos since 4 days daily and i loved this episode😍.....u are the best teacher in u tube .
@aparajita773
@aparajita773 5 жыл бұрын
me too
@sxd7564
@sxd7564 4 жыл бұрын
Same here
@varunjha7731
@varunjha7731 6 жыл бұрын
Simply & Clearly Explained the concept of Bit wise Operator with calculation . Great Video series on Python.
@rbk.technology4747
@rbk.technology4747 5 жыл бұрын
Navin reddy sir u r great and best teacher. I am a passionate coder. I like ur way of teaching.
@Venu0916_2K
@Venu0916_2K 2 жыл бұрын
Iam from civil engineering,And i joined in Python Full stack development,But i don't know even basics,After searching good lecture for python, I find one of the best teacher for python is Navin sir , And this sir is teaching from scratch onwards, Now a days iam interested in python becz of you Navin sir 😌
@YourMotivationCoach1
@YourMotivationCoach1 11 ай бұрын
now r you working or not.. i m also from civil thats why i ask..
@Venu0916_2K
@Venu0916_2K 11 ай бұрын
@@YourMotivationCoach1 listen I'm not saying u will get job by python, You need to be good at some other skills which is related to software fields
@YourMotivationCoach1
@YourMotivationCoach1 11 ай бұрын
​@@Venu0916_2K then what should I have to do?
@gauravpandey1454
@gauravpandey1454 5 жыл бұрын
>y) is equivalent to dividing x with 2^y.
@Jeity_
@Jeity_ 5 жыл бұрын
Shifting bits to the left or to the right is the same as multiplying or dividing by powers of 2. For example, shifting 2 bits to the left is the same as multiplying by binary 100, which is decimal 4 (that is, 2²), that's why 10
@suraimrashid6330
@suraimrashid6330 3 жыл бұрын
Wow, you just explained what 4 teachers couldn't explain in years. Just became a fan of your's.
@A9537-o1i
@A9537-o1i Жыл бұрын
I haven't studied this concept and after watching about 3 times I totally understood this.. thank you so much sir..🤗
@chowdhurym782
@chowdhurym782 2 жыл бұрын
I have taken so many paid courses, but never got such a brilliant explanation as clear as water like yours. A teacher can build an entire nation and people like you are the face of India, people like you are directing the young towards success, showing path. That is why we see Indian people at top in Google, top doctors from India all around. This is because you care about the rest of the people of the country, patriotism! You are providing everything for free but in a much better way than our conventional education system. You earned my respect man, from heart!! Great job! Keep doing good to society!
@IamRaeen
@IamRaeen 5 жыл бұрын
I am struggling to understand the use of this concept but I hope that would come sooner. Your videos are great but try to provide some of the future usages of the concept as well to keep us hooked. Thank you very much.
@arnavkumar804
@arnavkumar804 4 жыл бұрын
Thanks for teaching . I am 15 and love programming thank you for being the most reliable resource and a great teacher for me.
@navathesachin3782
@navathesachin3782 3 жыл бұрын
To find complement, use below formula: ~a=-(a+1) Ex: a=12 -(12+1) -13 a=56 -(56+1) -57
@sharansharanu8722
@sharansharanu8722 2 жыл бұрын
But how to compliment negative number
@sriabhirammuthadi4249
@sriabhirammuthadi4249 Жыл бұрын
@@sharansharanu8722 just put the number in place of 'a'
@gabs_sauce
@gabs_sauce 7 ай бұрын
My teacher explained this in class today and all I understood were the shifts, now I understand all biwise operators. Thank youuu !
@vipinmittal8542
@vipinmittal8542 6 жыл бұрын
Sir as we know it is scripting language. Please, Tell about how to make standalone executables from python. Use of cython and jython. Use of something which can convert all the python scripts to executables without any error for any library or for methods. I mean to say that the technique should be universal. I find difficulties in these topics. Overall you are the best now on youtube. Whenever related to any java search query on youtube, your name comes first. Quality video, audio with quality content.
@pawanjakke7392
@pawanjakke7392 4 жыл бұрын
Easy remebering of XOR 0 xor 0=|0-0|=0 1 xor 0=|1-0|=1 0 xor 1=|0-1|=1 1 xor 1=|1-1|=0
@shashanksp9168
@shashanksp9168 4 жыл бұрын
TQ bro
@erz_mafia
@erz_mafia 4 жыл бұрын
hahaha .....i follow this trick too
@Siddharth-uo6zw
@Siddharth-uo6zw 4 жыл бұрын
@@DineshThakur-hv1jz no it is correct
@lankasushma5105
@lankasushma5105 4 жыл бұрын
Trick bagundhi boss tq
@pawanjakke7392
@pawanjakke7392 4 жыл бұрын
@@lankasushma5105 welcome🤝
@samrudhraja224
@samrudhraja224 4 жыл бұрын
I see Navin sir more than I see my friends nowadays XD
@umadevipathiwada6933
@umadevipathiwada6933 Жыл бұрын
i am very scared of coding but after watching your videos I got full confidence in myself that I can also learn programming language. thank you so much sir.
@gladyouseen8160
@gladyouseen8160 5 жыл бұрын
Imperfect explanation for ~ operator
@abhijeet800
@abhijeet800 4 жыл бұрын
need help ~0 is -1 but he said 1?? and ~1 is -2
@syedakbarhussain3725
@syedakbarhussain3725 4 жыл бұрын
@@abhijeet800 short cut formula for ~ operator ~x=-x-1 ~12=-12-1 =-13 similarly....~ -12 =-(-12)-1 =+12-1 =11
@mr.respect9728
@mr.respect9728 3 жыл бұрын
@@abhijeet800 he took an example buddy he used to say its reverse i.e., positive to negative
@nisakamal
@nisakamal Жыл бұрын
Never thought it so easy....why my mind is so complicated before....thank you now I can keep my mind peace without thinking much about bitwise
@Shivam_Jaiswal64
@Shivam_Jaiswal64 6 жыл бұрын
That`s great clearly explained!!! and also interesting by showing *Nokia 1100* Fantastic
@pramodkajla
@pramodkajla 5 жыл бұрын
It was quite funny & interesting. Maja aaya video dekhkar.
@OasisFinder
@OasisFinder 4 жыл бұрын
Yes.. by seeing nokia 1100 , python performance increased by 1100%
@archyoloo4046
@archyoloo4046 8 ай бұрын
Sir Your a gift from Heaven!
@subramaniamr5723
@subramaniamr5723 5 жыл бұрын
print ("best teacher")
@KRK_videos
@KRK_videos 3 жыл бұрын
Sir,It is making very interesting with ur resources and way of teaching
@chandanhegade3673
@chandanhegade3673 4 жыл бұрын
Easy way to remember the compliment, ~n means -(n+1). Ex: ~6, output will -7. or ~18, output will be -19... :D
@hajamohideenjaffar3837
@hajamohideenjaffar3837 4 жыл бұрын
Thank you ; )
@sharwankumar-hr3du
@sharwankumar-hr3du 3 жыл бұрын
thank you @chandan Hegada
@heromiIes
@heromiIes 3 жыл бұрын
Yes this is the part that he neglected to explain
@Bikash-Debnath
@Bikash-Debnath 3 жыл бұрын
By far the best I can search on KZbin or any other education platform.
@sufiyanmogal1527
@sufiyanmogal1527 2 жыл бұрын
Today's Homework Completed 😀 1) The Complement number of 45 is 11010010 that is -46 and the complement number of 121 is 1000 0111 that is -122 . 2) (&) BIT Wise When we entered 25&30 in shell we got 24 that is 11000 in binary form . 3) XOR (^) 25^30 we got 7 because 25 and 30 become 00111 that is 7
@venkatlakshmi1288
@venkatlakshmi1288 2 жыл бұрын
121 compliment is 10000110
@prasannakamana2621
@prasannakamana2621 2 жыл бұрын
for 25 weget 11001 and 30 we get binary form 11110 now the 25 and 30 means 11000 so output is 24
@VictorMonday-lq3xs
@VictorMonday-lq3xs 10 ай бұрын
The component of 45 is 1111010010 which is -46 and the two complètements is 111101002. And the one of 121 compliment 11110000110 and gives -122 and the two complements 11110000111
@DarkYuugen
@DarkYuugen 4 жыл бұрын
The good thing about learning from online videos is that you can playback multiple times on things you don't understand at first. Took me a bunch of playbacks to understand how Complement works.
@cnu4a2
@cnu4a2 5 жыл бұрын
Zing Zing... Amazing Sir Simply I loved your way of teaching sir. Thanks for your vedios Sir Hats off Sir... 👏👏👏🙏🙏🙏
@arpitlakra4365
@arpitlakra4365 2 жыл бұрын
From class 10 I have been watching your channel. I never ever found anything complicated about your explanation. Mine every dought was crystal cleared by your videos. Thankyou so much sir. 👏👏👏👏👏
@satishraghav320
@satishraghav320 5 жыл бұрын
Sir, your way of explaining is truely amazing We can study and have fun at the same Sir really amazing. Hats off😊😊😊😊😊😊😊
@haritgupta4443
@haritgupta4443 2 жыл бұрын
Sir, the way you teach is amazing. Even after being in a medical line I do not find any difficulty in understanding anything🙏🙏
@souadlalune9415
@souadlalune9415 4 жыл бұрын
I am having so much fun, thank you.
@bachinaganesh1891
@bachinaganesh1891 3 жыл бұрын
Best resource to learn data structures and algorithms using python
@64imma
@64imma Жыл бұрын
My question is what is the practical use for bitwise operators?
@COValhalla
@COValhalla Жыл бұрын
I'm learning it for my work because we create product labels using the Python Imaging Library (PIL), but in order to print them on our Zebra Printers we have to convert the labels to a byte array, invert the byte array (bitwise operator ^), convert them to hexadecimal, then write to the printer. Basically, when sending data between systems we have to convert the datastream to binary.
@sowjanyakumargonnabattula9072
@sowjanyakumargonnabattula9072 2 жыл бұрын
Today Homework completed sir, 1sol: The binary format of 25 is 00011001 & 30 is 00011110 25 & 30 is 00011000 so that binary format in normal number is 24. that we get output when we entered 25 & 30 2 sol: The binary format of 25 is 00011001 & 30 is 00011110 25^30 is 00000111 so that binary format in normal number is 7 that we get when we entered 25 ^30.
@adilsher
@adilsher 4 жыл бұрын
I've understood a concept which I couldn't since the first time! It's amazing how programming has helped me to learn math problems xD
@Maryam-bf3ey
@Maryam-bf3ey 4 ай бұрын
yes
@shrutikuhar5786
@shrutikuhar5786 3 жыл бұрын
omg, you're really good...I subscribed just after watching the 20 seconds intro part.
@GiovaniGalicia
@GiovaniGalicia 5 жыл бұрын
Awesome lesson. It really helped me understand left and right shift bitwise operators. Thank you!
@itsme-fv7wq
@itsme-fv7wq 2 жыл бұрын
I seen many videos on KZbin to related this topic , but you explained this concept much better than others, thank you so much sir 😀
@maheshchavare9779
@maheshchavare9779 3 жыл бұрын
I've a question about ~12 example that you explained. Answer for ~12 is -13 (you got this from running in Python IDLE) and then you derived -13 by performing 2's compliment. However, what if I don't know what is the actual of ~12? So, how do you really derive the answer for ~12?
@monalishapanda9077
@monalishapanda9077 Жыл бұрын
same question
@tejveersingh7791
@tejveersingh7791 2 жыл бұрын
i very much enjoying this session sometimes i stuck at coding but i can easily get solution, very nice teacher
@sachinkoli8775
@sachinkoli8775 6 жыл бұрын
I am enjoying this series, nice explanations. Thank you
@shivaprasadmallikarjunaiah3751
@shivaprasadmallikarjunaiah3751 Жыл бұрын
Awesome the way you teach and a good approach of teaching the concepts first... After I watched your first video, there was no going back or looking for another !! Thank you
@yashm05
@yashm05 5 жыл бұрын
teaching skills 💯 you got this subscriber sir 😊
@astwo26
@astwo26 Жыл бұрын
Navin you re a hero without a cape , very appreciate for that lectures you deserve the best always .
@ogolasaura1805
@ogolasaura1805 3 жыл бұрын
where exactly do we apply bitwise operators when we are programming; can u please make a tutorial for that please
@RaJ-hs1eg
@RaJ-hs1eg 3 жыл бұрын
Great explanation
@tarunsani448
@tarunsani448 4 жыл бұрын
Sir one doubt, during conversion of number into binary in IDLE, we get 12 to 0b1100, but you mentioned 12 as 00001100..I don't understand...please clarify it sir.
@yamisingh7433
@yamisingh7433 4 жыл бұрын
here 0000 represents that 12 is+ve number and 1111 rep that 13 is -ve number
@tarunsani448
@tarunsani448 4 жыл бұрын
@@yamisingh7433 thanks for clarifying.
@suchithkumarhm7775
@suchithkumarhm7775 3 жыл бұрын
you teaching give very interest about python i realy enjoy your class thank you sir
@bissiratnegusse5716
@bissiratnegusse5716 4 жыл бұрын
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.
@shrutykaej2284
@shrutykaej2284 3 жыл бұрын
Yeah I had the question in my mind too!😂
@omkarjsuvarna
@omkarjsuvarna 3 жыл бұрын
No he was saying that the 12 is equal to -13 in bits that's it.
@shrutykaej2284
@shrutykaej2284 3 жыл бұрын
@@omkarjsuvarna Got it 👍😊
@nzk_vlogger4256
@nzk_vlogger4256 2 жыл бұрын
really good one ,very useful
@just_a_living_being
@just_a_living_being 6 жыл бұрын
Sir can you give some questions for practice in text file related to the the topic as homework, in the description? it will help us alot.
@mayurpatil1526
@mayurpatil1526 4 жыл бұрын
awesome u r just superb....when i was in college that time i skip 2's complement and 1's complement due to i didnt understand all this this now i get how much interesting this topics....thank you
@collinsaharley-bright4399
@collinsaharley-bright4399 4 жыл бұрын
hi Navin quick question.,, in the binary conversion of 12 i got 1100 how do you get "00001100" . i realised same was done for bin(13) which is1101 but you have 00001101. I'm so confused
@harshithag7069
@harshithag7069 Жыл бұрын
Yes,I also got same doubt.
@pvrani1906
@pvrani1906 4 ай бұрын
it is a 8-bit number
@parneetsekhon3789
@parneetsekhon3789 3 жыл бұрын
Best python videos I could find on you tube, thank you very much!
@rajpanday1911
@rajpanday1911 4 жыл бұрын
isn't the binary of 12=1100 why is 000001100 used there
@hemanthrajkumar3120
@hemanthrajkumar3120 3 ай бұрын
Even I'm getting the same doubt now
@girishbabucj4180
@girishbabucj4180 2 ай бұрын
@@hemanthrajkumar3120 Great question! The reason why 00001100 (or a similar number of bits) is used in bitwise operations is related to how computers typically handle binary numbers. Why Use More Bits: Fixed Bit Widths: In practical applications, computers usually work with fixed-width integers. Common widths are 8 bits, 16 bits, 32 bits, and 64 bits. For example, an 8-bit system will use 00001100 to represent the decimal number 12 because it needs to fit into 8 bits. Alignment and Standardization: Fixed bit widths align with computer architecture and programming languages. They ensure standardization across different systems and operations. This allows for consistent representation and manipulation of data. Bitwise Operations: When performing bitwise operations (AND, OR, XOR, etc.), the operations are performed on the fixed-width binary representations of the numbers. If you're working in an 8-bit system, numbers are padded with leading zeros to fit this width. Example: Decimal 12: In binary, 12 is 1100. In an 8-bit system: To fit into an 8-bit width, it becomes 00001100.
@kishores.kec2432
@kishores.kec2432 2 жыл бұрын
Print(" master piece ") best teacher online 💥💥
@anshtanwar1813
@anshtanwar1813 5 жыл бұрын
Why 12 is 00001100 it should be only 1100 according to your previous video
@prateekmathur5898
@prateekmathur5898 5 жыл бұрын
Can someone please tell, why 8bit binary has been taken for ~12?
@harshitchaubey8274
@harshitchaubey8274 5 жыл бұрын
Have u got the ans???
@westinsightshub1379
@westinsightshub1379 5 жыл бұрын
yrr did u got the ans ?
@TheEmptyForever
@TheEmptyForever 5 жыл бұрын
00001100 is the same as 1100, just like 00012 is the same as 12 Zeroes to the left don't change the number.
@madanmohanar1380
@madanmohanar1380 5 жыл бұрын
zeroes before 1100 doesnt matter
@alkhiljohn3813
@alkhiljohn3813 2 жыл бұрын
I have a good amount of python experience, but was still unfamiliar with this concept. I am glad you helped me :)
@IamAnKYy
@IamAnKYy 4 жыл бұрын
10:18 "but we ignore zeros because they are zeroes" zeroes - "Am i a joke to you?" 😂
@ravi7979
@ravi7979 3 жыл бұрын
Aryabhata wants to know your location
@supersymmetry2517
@supersymmetry2517 4 жыл бұрын
4:04 Actually -13 is the bit pattern before adding the 1. Adding the 1 gives you a way of finding the bit pattern of negative numbers. In this case when you complement the bit pattern of 12 and then add 1 you get -12 and so on
@geetamishra1279
@geetamishra1279 Жыл бұрын
Thnx sir you explained much more easy-going
@piyush4338
@piyush4338 5 жыл бұрын
Hlo sir, I am watching your video on python for long time and I found them much helpful. THANKS for making such an great videos for us
@dibyanshusah117
@dibyanshusah117 3 жыл бұрын
Please type....print(' Navin sir is the best teacher in the world') .. 👍👍🥰🥰🙂.. Big fan..
@keonook
@keonook 4 жыл бұрын
Thank you so much for this video. It was clear and easy to follow!
@dipankargupta3365
@dipankargupta3365 4 жыл бұрын
your teaching skill is just amazing... love you...💕
@prateekkachoria301
@prateekkachoria301 4 жыл бұрын
Hi Navin, Thanks firstly. Doubt: when i put 0b11110011 and hit enter in IDLE it gives me 243 as the answer instead of "-13"... I am using python3.8.3 now. and when I RUN bin(-13).. python gives -0b1101. Please clarify this
@kayaberk-
@kayaberk- 2 жыл бұрын
+ same problem here
@Durga_Naveen
@Durga_Naveen 4 ай бұрын
In 2024 also the best python series❤ Navin the Creator 😊
@rv2007
@rv2007 6 жыл бұрын
Thank u sir For this treasure video..
@gpraneetha
@gpraneetha 3 жыл бұрын
Wonderful explanation . Got interest on coding after listening to your classes
@khadarsk9099
@khadarsk9099 6 жыл бұрын
11110011 how can we tell this is -13 without compare this with result. and how to convert 11110011 into number (-13)?
@nagarajanrajan2460
@nagarajanrajan2460 4 жыл бұрын
first --> subtract the binary number with 1 i.e., -1 second --> invert the number third --> convert the number to decimal and add (-) symbol before it thats it
@devkumarjacks201
@devkumarjacks201 4 жыл бұрын
Same here I don't understand that too...
@praveen1193
@praveen1193 4 жыл бұрын
@@devkumarjacks201 go through most significant bit concept
@namankumarbharti625
@namankumarbharti625 4 жыл бұрын
Did you get the answer?? @shaik
@oxsc
@oxsc 4 жыл бұрын
You can use the bin() function to convert an integer into it’s bit sequence so: >>>int_number = 4 >>>print(bin(int_number)) ‘00000100’ Remember your output will be a string, hope this helps :)
@shreyanshtiwari5736
@shreyanshtiwari5736 Жыл бұрын
learning in 22 thanks you alot sir this course is just full with energy.
@rajkumar-nx1me
@rajkumar-nx1me 5 жыл бұрын
print("the way naveen sir teach is superb") print("thank you")
@yugandharsurya
@yugandharsurya 5 жыл бұрын
I'm very thankful to this channel which gives me better knowledge about technologies.... 💞💖💞💖💞
@thisismazhar
@thisismazhar 6 жыл бұрын
sir, if binary format for -13 is 11110011, then what is the binary format of 243??? is it same?
@rgk1579
@rgk1579 5 жыл бұрын
I too have this doubt
@pranavkongara4197
@pranavkongara4197 5 жыл бұрын
@Dileep Kumar actually no . the first number is used to represent sign that is 0 for + and 1 for - so only the last 7 bits of 8 bit is used to represent the value . For 243 , it uses 16 bit number to store in binary.
@pranavkongara4197
@pranavkongara4197 5 жыл бұрын
@@rgk1579 ^^
@PythonisLove
@PythonisLove 5 жыл бұрын
243 is a 16-bit number
@datascience6718
@datascience6718 4 жыл бұрын
Short and precise crystal clear sir, kudos to you!!!
@Neerajkumar-mc7wk
@Neerajkumar-mc7wk 6 жыл бұрын
sir binary format of 12 is 0b1100 then why 0000 at the start from where they came.
@tejbirsingh2491
@tejbirsingh2491 6 жыл бұрын
Yes bro same doubt
@jayachandrareddy_g
@jayachandrareddy_g 6 жыл бұрын
to convert it into 8 bit. he added 0000.
@niviten
@niviten 6 жыл бұрын
the preceding zeros, 0b1100 == 0b00000.....000001100
@debabrataiam2019
@debabrataiam2019 5 жыл бұрын
@@niviten why it's necessary to convert it to 8bit?
@arvindrathod1082
@arvindrathod1082 5 жыл бұрын
@@debabrataiam2019 : integer data type storage size is 1byte =8bits. All these values in integer data type therefor we are converting them to 8 bits.
@vishalnasre1251
@vishalnasre1251 3 ай бұрын
Thanks Guruji, I am a non tech person, learning python as first language and no where I found this detail explanation of things. Thanks Again :)
@ashwanigupta3419
@ashwanigupta3419 5 жыл бұрын
Hlw sir, How 11110011 represent -13. Why we interpret -13 when we have to solve complement of 12. Why is it not showing just complement of 12 which is as simple?
@kulasekhar1598
@kulasekhar1598 5 жыл бұрын
Same dought bro
@nehairinirm7871
@nehairinirm7871 4 жыл бұрын
Same confusion.. 🙄
@dasarihimabindu8075
@dasarihimabindu8075 4 жыл бұрын
That is 2's complement is equal to the 13 's complement that we are saying complement of 12 is equal to -13
@Ahmed_Dorra
@Ahmed_Dorra 4 жыл бұрын
he interpreted -13 to show that -13 and ~12 are the same when converting them to binary..thats why it shows -13 when we run ~12..
@theduffrichie2050
@theduffrichie2050 4 жыл бұрын
heres how u calculate short handedly...for complement negative nos 11110011...start count from least 1 position from continuous of 1s... i.e 111*10011...start from * onwards.... -16+2+1=-13 simmilarly if u have no 11111111111111111011... you dont have to waste time starting from begining.just start from asteric place( 1111111111111111*1011) -8+2+1=-5 and so far this is concernerd the output is giving 1's complemet not 2's complement as 12= 00001100 1's of 12 is 11110011 hence if u calculate the way above its giving -13 if python were to give 2's , 2's of 12 is 11110100 which is -14(-16+2..cal by above method) this is what i could understand. :(
@youtubertanyasharma1473
@youtubertanyasharma1473 4 жыл бұрын
Very helpful
@hawnod4665
@hawnod4665 4 жыл бұрын
print('thank you')
@mr.peenuttgriffen2264
@mr.peenuttgriffen2264 4 жыл бұрын
Telusko == Best Teacher True
@shohabmohammed2174
@shohabmohammed2174 4 жыл бұрын
Sir I can't find the compliment of ~45 (Can anyone help me in finding it out) I am getting 17 as the output but it's wrong Answer is -46
@mahinbari6307
@mahinbari6307 4 жыл бұрын
Bin 45 = 0000101101 Compl of 45 = 1111010010 Now bin 46= 0000101110 - 46 = compl of 46 + 1 Compl of 46 = 1111010001 So -46 = 1111010001+1= 1111010010 Now the thing is here we are doing binary math. In this system 1+1=2 which is actually 10 I have also got confused but later i can understand.
@shantanugupta4932
@shantanugupta4932 4 жыл бұрын
@@mahinbari6307 can you explain me how you find bin 45 = 0000101101
@miteshpadiya1678
@miteshpadiya1678 4 жыл бұрын
@@mahinbari6307 tnx brother
@mahinbari6307
@mahinbari6307 4 жыл бұрын
@@shantanugupta4932 type bin (45) in the python consol. You can get the answer. Or there is a video in this channel about how to convert in binary format, you can find it on there also.
@jai4uuuu
@jai4uuuu 4 жыл бұрын
@@mahinbari6307 Hey Bro, I have understood almost everything except 1s comp + 1. Could you please explain how did you add +1 to the ~46( 1111010001)....I mean this part >>>>> 1111010001+1= 1111010010
@abhaysharma3776
@abhaysharma3776 4 жыл бұрын
Hey you are good teacher yes of course doing commendable job as teaching is a noble thing, but I have a question ~1 = -2 and ~0 = -1
@bellamyt9764
@bellamyt9764 6 жыл бұрын
sir 1010.0000 on right shift 2 why cant be 0010.1000 can you please explain??
@powerstardurga2142
@powerstardurga2142 5 жыл бұрын
charan pulivendula yes bro i have this doubt
@rrc1139
@rrc1139 5 жыл бұрын
Forget about the dot Naveen is considering that’s just for our understanding He is helping us to understand it in a easier way when you do a right shift you should just eliminate the number of digits on right side.
@vaibhavkandari6840
@vaibhavkandari6840 5 жыл бұрын
Chitharanjan C, thanks
@alqamasharique4196
@alqamasharique4196 5 ай бұрын
No way! It's like magic, I'm 10 years old and I love your videos alot! Navin sir rocks!
@pacedelacruz4913
@pacedelacruz4913 5 жыл бұрын
Thank you for this!!
@Chandu-ce7vn
@Chandu-ce7vn 4 ай бұрын
no second thought of searching for other python tutorials after watching this ,fabulous explaination👏👏
@SaiKiran-zu2fe
@SaiKiran-zu2fe 4 жыл бұрын
Your channel name "Telusko" mean. To be known in "Telugu"❤️
@wkk1514
@wkk1514 4 жыл бұрын
wat
@mayureshchavan3107
@mayureshchavan3107 2 жыл бұрын
better than school and paid courses
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 86 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 97 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 25 МЛН
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 44 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 28 МЛН
Operators in Python | Bitwise Operators | Python Tutorials for Beginners #lec17
17:11
Bitwise Right Shift Operator in Python
11:35
Neso Academy
Рет қаралды 33 М.
Lecture 1: Introduction to CS and Programming Using Python
1:03:30
MIT OpenCourseWare
Рет қаралды 809 М.
#20 Python Tutorial for Beginners | While Loop in Python
12:43
Telusko
Рет қаралды 1,6 МЛН
#26 Python Tutorial for Beginners | Array in Python
15:57
Telusko
Рет қаралды 1,3 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 97 МЛН