#12 Python Tutorial for Beginners | Number System Conversion in Python

  Рет қаралды 1,074,844

Telusko

Telusko

Күн бұрын

Пікірлер: 881
@Rajadahana
@Rajadahana 2 жыл бұрын
Decimal - int( ), Binary - bin( ), Octal - oct( ), Hexa Decimal - hex( ) The important thing is not only you can convert between decimal and the respective number system but also between any number system. For example - between Binary and Octal, Hexa Decimal and Binary etc.
@JoeyFlowers
@JoeyFlowers 6 жыл бұрын
I love how in depth you go with each topic, rather than just brushing over it.
@abhishwetkumar
@abhishwetkumar 5 жыл бұрын
You just refreshed my Engineering class ...... wow Navin Impressed with this crah course on decimal to binary and vice-versa....
@muhammadmusa8899
@muhammadmusa8899 5 жыл бұрын
I'm loving python after I started watching your videos... Thank you for making me love programming
@josephkimogele9988
@josephkimogele9988 4 жыл бұрын
very awesome series, I was so confused when I started learning python because of all the information on youtube that is not organized and most of the videos weren't as helpful, thanks for the series I enjoy learning every day, cant wait to finish and start my career as a python developer. thank you.
@arunavedula442
@arunavedula442 4 жыл бұрын
Thank you...Learnt a lot from watching your videos on python. You’ve managed to explain the concepts with so much clarity and without making it boring. Looking forward to more learning.
@alittlecoding
@alittlecoding 6 жыл бұрын
a//4=3 because integer division. b**3 = b.b.b = 1728 So 1731 < 2000 is true. b%4 = 0 it's the remainder. So b%4 != 0 is false. So finally (true and false) is false. X = false But the output Will be nothing, if we don't print x.
@neruvan2368
@neruvan2368 6 жыл бұрын
wow
@alittlecoding
@alittlecoding 6 жыл бұрын
Sai Siva 😊
@siddharthpathak9679
@siddharthpathak9679 5 жыл бұрын
Cool bro good
@anjumishra7237
@anjumishra7237 5 жыл бұрын
I also got the same answer.
@BrainyMystery
@BrainyMystery 5 жыл бұрын
@@anjumishra7237 yes
@adityabhambhani207
@adityabhambhani207 3 жыл бұрын
sir yours are the only quality programming videos i've come across on youtube......i have learnt a great deal from you and your videos , i have great interest in computers and you have taken it to another level ....
@aparajita773
@aparajita773 5 жыл бұрын
here, (a//4+12**3) = 1731which is less than 2000. hence first condition is true. (b%4!=0) is false since b%4 is 0. and finally since the and operator is used answer is "false"
@praveenkumar-jx8iz
@praveenkumar-jx8iz 5 жыл бұрын
Correct√
@seshu6617
@seshu6617 4 жыл бұрын
@@praveenkumar-jx8iz yes correct bro
@muhammadibtisaam2115
@muhammadibtisaam2115 4 жыл бұрын
second condition samaj nahi aahe
@abhinavkuruvilajoseph9274
@abhinavkuruvilajoseph9274 4 жыл бұрын
But in the question it is not given to print so no output will be there
@shiva53j7kandagatla6
@shiva53j7kandagatla6 4 жыл бұрын
@@muhammadibtisaam2115 b%4 =0 because if we use % we get a reminder and then the condition given is 0 not equal to 0 that's why it is false
@kunalverma1706
@kunalverma1706 4 жыл бұрын
No one is teaching you this in programming tutorials. Thanks Sir
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
Sir you have discussed very important basic concepts number systems.. and now your representation with good slides picture is nice 👍👍.. many thanks 🙏..
@dragonff6986
@dragonff6986 2 жыл бұрын
What are you doin now brother..IAM learning python now
@dragonff6986
@dragonff6986 2 жыл бұрын
Is this enough to go0
@neelamgupta2505
@neelamgupta2505 5 жыл бұрын
Thank you sir! I wanted to learn programming but not enough interested and was being bored by programming, and you increased my interest and now I am enjoying learning.
@shashankshekharsingh9336
@shashankshekharsingh9336 5 жыл бұрын
Respect earned
@THAFUYR
@THAFUYR 4 жыл бұрын
Agreed
@okimeobia
@okimeobia 4 жыл бұрын
me too....he's good
@Paramjit_purewal
@Paramjit_purewal 4 жыл бұрын
Mission Passed Respect+
@shabalbaig9544
@shabalbaig9544 5 жыл бұрын
I love your videos sir. I'm not even skipping the ads cz it might help
@aarushrathore4134
@aarushrathore4134 4 жыл бұрын
You are the best python teacher that i,ve ever found!!
@sufiyanmogal1527
@sufiyanmogal1527 2 жыл бұрын
Homework Completed 😀 Conversion of decimal to binary 31 - Ob11111 52 - Ob110100 65 - Ob1000001 And the conversion of binary to decimal Ob110011010 - 410
@badrisuvarna2705
@badrisuvarna2705 4 жыл бұрын
In this lockdown u made me interest to learn the programming sir...thank you very much
@Asuram23
@Asuram23 6 ай бұрын
Mister, thank you so so much! I am preparing on Python exam and I wish our teacher were half as good as you! You explain everything so well, than I understand instantly or rewatch if I do not. The rest is then practice and difficulty that needs to be increased. I recommended you to my classmates, I hope they benefit from your lectures too! Never stop teaching, you are born to do it
@shawndurbs
@shawndurbs 2 жыл бұрын
Wow. I love your teaching. I tested my self on a lot of binary equations both ways and was getting all of them correct. I’m also a total beginner. Thank you.
@sairajdas6692
@sairajdas6692 6 жыл бұрын
I know all these but I still watch because I love your videos .
@rajkumarrathore6573
@rajkumarrathore6573 3 жыл бұрын
Wow ago many times.
@surojbera
@surojbera 4 жыл бұрын
Java guru has now become a Python guru too. Thank you Navin sir.
@danielkamau8436
@danielkamau8436 4 жыл бұрын
oooh! thanks a lot tutor for helping continue scoring more as a junior learner in this promising field.
@shruthiraykar6808
@shruthiraykar6808 10 ай бұрын
Best tutor ever ❤ i love watching your videos Here are the answers to assignments - Binary value of 31 is 11111 52 is 110100 65 is 1000001
@mrexe7944
@mrexe7944 4 жыл бұрын
'0b11111' is the binary format of 31. '0b110100' is the binary format of 52. '0b1000001' is the binary format of 65.
@mr.gamingthalapathy3191
@mr.gamingthalapathy3191 2 жыл бұрын
What is the binary format for 110011010
@nandhiniruby-xr2mu
@nandhiniruby-xr2mu Жыл бұрын
I am also get the answer
@ShreeChirasani
@ShreeChirasani 13 күн бұрын
@@mr.gamingthalapathy3191 410
@RS-hu6co
@RS-hu6co 4 жыл бұрын
a = 15 b = 12 x = (a//4+b**3)
@priyanshkumar17
@priyanshkumar17 2 жыл бұрын
Yes .. verified . Thanks
@krishnakingdom3543
@krishnakingdom3543 2 жыл бұрын
You had done a mistake here. 12**3=1728 but you worte here 1731. But i agree with your answer.
@sekarmukilan4627
@sekarmukilan4627 Жыл бұрын
@@krishnakingdom3543 yes, I agree that but there will be no output because u r just assigning some value to x if u print(x) the output will be false
@shivampanda4552
@shivampanda4552 4 жыл бұрын
hey man you are doing a great job these kind of classes are really helpful thanks a ton man!
@Mahendratammineedi
@Mahendratammineedi 4 жыл бұрын
Way of explination ,look and feel ,command on subject and the output of the video by your team is awesome navin..go on..I am very much thanqful to you
@anweshaadeb89
@anweshaadeb89 3 жыл бұрын
Thanks!
@Sareeshoponline
@Sareeshoponline 2 жыл бұрын
Hi Navin, I am a serious fan of you and your videos and the way you teach and finally smartly say 'bye bye'. It's like I am stick with you like glue. Can you please help me to be a python Master.
@abdikarimdhanaane7774
@abdikarimdhanaane7774 3 жыл бұрын
right answers on the exercise given by our sir 'Navin'. thank you a lot.
@mitchell_the_great
@mitchell_the_great 4 жыл бұрын
Yes your videos are too good and helpful for beginners
@sufiyanmogal1527
@sufiyanmogal1527 2 жыл бұрын
The Quiz Answer is False Because the first condition (15//4 + 12**3)
@IDRISSULE-h4l
@IDRISSULE-h4l 10 ай бұрын
God bless you for giving me a knowledge on python like this. 😊❤
@GMENavneetPiyushDhal
@GMENavneetPiyushDhal 4 жыл бұрын
you have the best python video till now i have seen and ur way of teaching is incredeble thankyou
@srikkar
@srikkar 6 жыл бұрын
Awesome videos ... not at all feeling bored while learning which we feel usually . The way you are explaining and the graphics behind you are making me focused Thanks.
@shaahidhabanu4869
@shaahidhabanu4869 5 жыл бұрын
Really helpful and can understand well. Good job telusko
@abhilashdevarakonda5991
@abhilashdevarakonda5991 6 жыл бұрын
done the binary conversation. 31=11111 21=10101 52=110100 65=1000001 and 0b110011010=410
@pubgqueen2230
@pubgqueen2230 4 жыл бұрын
Huge Respect for You Sir. I wish if you would be my programming teacher when i was doing engineering. Thanks i have started learning it again. Now. I am at this video.
@xihadityajaiswal8797
@xihadityajaiswal8797 11 ай бұрын
Amazing tutorials Point to point explanation ❤
@sumidasdutta582
@sumidasdutta582 Жыл бұрын
Hometask done...bin(31)=0b11111, bin(52)=0b110100, bin(65)0b1000001, the output of x is false as 1731
@shankargope2475
@shankargope2475 Жыл бұрын
That's a wonderful session regarding number system conversion to one from another 👌 a = 15 b = 12 x = (a // 4 + b ** 3) < 2000 and (b % 4 != 0) here b ** 3 = 1728 and a // 4 = 3. So, (a // 4 + b ** 3) = 1731 which is < 2000 --> True b % 4 = 0 remainder so, b % 4 != 0 is False. so output of x is False decimal to binary conversion --> 31 - 0b11111, 52 - 0b110100, 65 - 0b1000001 binary to decimal conversion --> 0b110011010 - 410
@dammalapatibhanu9442
@dammalapatibhanu9442 6 жыл бұрын
31 binary format :11111 o :37 h:1f 52 binary format:110100 o:64 h:34 65 binary format:1000001 o:103 h:41
@gouripeddipawansreekar1752
@gouripeddipawansreekar1752 4 жыл бұрын
@Omkar Jadhav sir its 101 not 103 ...logic was take the 3 sets 0f digits from the last ...the sets came as 001,000,001 then the octal is 101
@sagarthoke2472
@sagarthoke2472 4 жыл бұрын
Respect+love= best learning== Navin Sir😘😘😘
@039_priyanshisharma2
@039_priyanshisharma2 3 жыл бұрын
best phython course ever ....thank u sir it helps a lot....
@rifatnoor8969
@rifatnoor8969 4 жыл бұрын
Best video ever seen on python😊💕
@artokilponen6989
@artokilponen6989 6 ай бұрын
I like this course, thanks :) For the final question there, the result is false. Others below (ok, didn't read them all) have explained that how boolean system works and have right results, but for the manual logical thinking, I'd say it is a good way to start from "what's useless?" For example, since we have here operator AND, we know that _BOTH_ sides needs to be TRUE, so if even one is FALSE, the whole result is FALSE. Therefor, you can begin to prioritize things. Pick the part that's easiest for you, if you happen to get a FALSE there, the rest is totally irrelevant. So for example, here we can pick the first part. a // 4 is 3 and 12**3 = 12^3 = 1728 and 3 + 1728 = 1731, which is less than 2000, so we have here one part of the AND being a FALSE. And thus the rest is irrelevant, no matter how complex stuff you put there, because FALSE AND absolutely whatever is FALSE. Now yeah, sure, I do encourage you also to understand how to do every single part of this, but for purely the manual solving, try to first consider what's relevant.
@RozaLinda281
@RozaLinda281 6 жыл бұрын
a //4 = 15 // 4 =3 and, b**3 means b power of 3 = 12^3 = 1728 so, (a // 4 + b**3) = 1731 the first condition is true because 1731 < 2000 but the second condition is false because b%4 = 12%4 = 0 so X is false
@ShahidShaikh-lv4wp
@ShahidShaikh-lv4wp 5 жыл бұрын
x=(a//4+b**3)
@preetibaddi2239
@preetibaddi2239 4 жыл бұрын
Learning in corona pandemic! Thanks very much sir lessons are indeed very Informative 🙌🏻
@aarjavjain2866
@aarjavjain2866 2 жыл бұрын
sir you are awesome its just great to have you, i have my cs exam the day after tomorrow and I guess its going to be awesome
@poojainamdar1614
@poojainamdar1614 5 жыл бұрын
Thank you so much sir.... I used to think coding is not cup of my tea.... But after studying from your tutorials I find coding now interesting, and now I am able to develop logic 🙂
@padminikalburagi1783
@padminikalburagi1783 4 жыл бұрын
a=15 b=12 X= ( a//4+b**3)
@mounikak3818
@mounikak3818 4 жыл бұрын
chala thanks andi meeku me videos chala help avtunay for beginners
@parwaagrawal
@parwaagrawal 3 жыл бұрын
@Telusko , Navin sir your videos are Just amazing , Hats off to you sir 🙏🏻
@anushagujjeti5083
@anushagujjeti5083 3 жыл бұрын
Firstly thank you sir for the great content
@viplawganguly3256
@viplawganguly3256 5 жыл бұрын
Thanks for this sir...honestly saying I thought Python is not for me I can't learn ,bcoz I am not from coding background but by your videos I got some confidence ...
@Rohan-cw9gn
@Rohan-cw9gn 3 жыл бұрын
Instead of giving money to the useless university teachers we should give that money to this youtubers what a superb teaching yaar loving it
@nishantjha6456
@nishantjha6456 4 жыл бұрын
Please make more videos like this, it was very interesting
@rajareddy374
@rajareddy374 19 күн бұрын
Great Teaching ,Very informative
@anandvaish4256
@anandvaish4256 4 жыл бұрын
Very helpful easy to understand for beginners . Sir thanks for such a outstanding series of *PYTHON*
@medasbabu
@medasbabu 4 жыл бұрын
Perfecto, very clear explanation of binary, trying it on a book, really helps in better understanding, thank you reddy garu :)
@RKS6893
@RKS6893 5 жыл бұрын
Fantastic stuff and presentation, high energy
@harshavardhanreddy6558
@harshavardhanreddy6558 4 жыл бұрын
Oh my god, this video reminds my childhood thanks bro :)
@uddeshdharmik8168
@uddeshdharmik8168 4 жыл бұрын
Etna achha koi kese padha sakta hai yrr😱🤔
@Sanush07
@Sanush07 4 жыл бұрын
Sir namaste U made learning python is easy and fun for beginners. Thank u sir.
@sonupoonia993
@sonupoonia993 2 жыл бұрын
Thanks I'm 1in the class 👍🏻👍🏻
@anandmohan1063
@anandmohan1063 3 жыл бұрын
Thanks for explaining the number formats (Hexa, octa...). Got remember the childhood classes
@-pamarthidhanyateja
@-pamarthidhanyateja 3 жыл бұрын
according to the BODMAS rule for the given values a=15 b=12 x=(a//4 +b**3) and (b%4!=0) in the above we need to consider in the bracket first after then we need to go for power b**3=1728 a//4=3 a//4+b**3=1731 it is less than 2000 so the bool value is true for this then we need to do for another value which is b%4!=0 b%4=0 it is equal to zero so its false therefore x = True and False x = False.........
@rishisinghgautam4922
@rishisinghgautam4922 5 жыл бұрын
Thank you sir for increasing my capacity in Python coding, Keep it up sir for us..,🙏🙏
@shivadumnawar7741
@shivadumnawar7741 5 жыл бұрын
what a timing sir,, terrific ur lightening us with ur knowledge.
@rajkumarrathore6573
@rajkumarrathore6573 3 жыл бұрын
bin(31) '0b11111' bin(52) '0b110100' bin(65) '0b1000001' super sir now i learn how to convert bin to deci ,oct,hexa,...thank you so much
@RiyasMohammed-ib9jy
@RiyasMohammed-ib9jy 5 жыл бұрын
Hi sir, you are a best teaching skills there when compare everyone in world
@priyanshkumar308
@priyanshkumar308 3 жыл бұрын
Awesome, Reddy Sir 🙏
@rohanram7197
@rohanram7197 5 жыл бұрын
We all owe you sir Thanks a lotttt
@zorromusashi4502
@zorromusashi4502 3 жыл бұрын
I love it!!! This is changing my life!!!
@bosnianphantom480
@bosnianphantom480 Жыл бұрын
7:15 or you can write power versions of number 2 above each and every digit like I do, for example you have 1101 and you can write, 1, 2, 4, 8 above those digits
@soumyabratahazra7723
@soumyabratahazra7723 5 жыл бұрын
Really nice video , I am becoming a fan of your teaching , 🙏🙏🙏
@yashkhanna2602
@yashkhanna2602 6 жыл бұрын
done the binary conversation. 31=11111 21=10101 52=110100 65=1000001 and 0b110011010=410 and >>> a = 15 >>> b = 12 >>> x = (a//4+b**3)>> x False reason- a//4 will give the value 3 and 12*12*12=1728 so first expression will become 1731 which is less than 2000 i.e. true and the second expression will give the remainder value as 0(because % means to find the remainder) which is false as expression says it is not equal to.So the whole expression becomes false.
@serajhassan545
@serajhassan545 6 жыл бұрын
Why din't u consider 4 & 2 in reverse conv while adding?
@serajhassan545
@serajhassan545 6 жыл бұрын
Thank u sir
@II_xD_II
@II_xD_II 6 жыл бұрын
@@Telusko wow
@viplawganguly3256
@viplawganguly3256 5 жыл бұрын
bcoz it was 0 - 11001 - and 4 and 2 was 0
@gamingtyaari6292
@gamingtyaari6292 5 жыл бұрын
Ans is true
@prasadgawai1401
@prasadgawai1401 4 жыл бұрын
Sir ko mat sikha tu , phut le chl
@priyanshkumar308
@priyanshkumar308 3 жыл бұрын
Too nicely covered all the basic contents of Python
@nvh3183
@nvh3183 Жыл бұрын
Really fun in learning, engineering didn't teach how to use this
@armanqureshi8904
@armanqureshi8904 4 жыл бұрын
05:36 Sir I Didn't Understand How That Hexadecimal For 10 Became a (0oa) Please Reply
@saivinay3373
@saivinay3373 4 жыл бұрын
Arman Qureshi 0-9 decimal later followed up by a-f....... total 16 = hexadecimal
@armanqureshi8904
@armanqureshi8904 4 жыл бұрын
@@saivinay3373 Thank You For This Answer 👍🏻
@prathapkgprathu8808
@prathapkgprathu8808 Жыл бұрын
Its possible to convert floating value to binary?? for example 23.5 to binary???
@radhamanohar4540
@radhamanohar4540 6 жыл бұрын
Sir, for octal number you can use "0" instead of "0o" i.e. 0o31==21; 031==25
@kartikaytripathi2272
@kartikaytripathi2272 6 жыл бұрын
great work sir... love your content..!!!!!
@khushijha5474
@khushijha5474 3 жыл бұрын
Last qs ans - True Reason - - - Y
@mohankumar9511
@mohankumar9511 4 жыл бұрын
You are not good in programming alone you are good in mathematics too😍
@chiragbhartiy3418
@chiragbhartiy3418 4 жыл бұрын
sir thank u lot sir.u r making python language look easy
@madmax1099
@madmax1099 6 жыл бұрын
Answer is true because Condition one is true by bodmas rule and second condition also true so it is true As both statements are then the relavent output is also true
@82bandsoym58
@82bandsoym58 2 жыл бұрын
great video, great teaching skills. thank you a lot keep it going.
@omkardandwate9133
@omkardandwate9133 4 жыл бұрын
first box is true as 1731
@SohelRanaAnsari
@SohelRanaAnsari 6 жыл бұрын
Ans- False.... Bcz b=12, when divided by 4 reminder is 0. b%4 means reminder value.. but here not 0... Bcz its and case so to be true both should be right.
@kavitachoudhary8256
@kavitachoudhary8256 3 жыл бұрын
sir you are just great
@jeelanashrafi8595
@jeelanashrafi8595 5 жыл бұрын
Thank you. Sir. For providing entire. Python course....
@jessdee1467
@jessdee1467 3 жыл бұрын
What are the correct answers to the homework you gave us? I would like to check my answers. Thank you for this video, it really helped me a lot!
@priyanshkumar17
@priyanshkumar17 2 жыл бұрын
Yo can check by runing the code in IDLE , PyScripter , PyCharm or Sublime Text.
@pronabkumarpal
@pronabkumarpal 3 жыл бұрын
Basically We don't get any output from the Question Code. But The of x here is False cause here the First condition is False and Second is True.. As We know, in case of *and* 0 1 = 0.. So, The value of x is False absolutely. Love from Bangladesh Sir @Telusko
@sandipsen7041
@sandipsen7041 5 жыл бұрын
Excellent Naveen....
@jimmymesa
@jimmymesa 5 жыл бұрын
Very entertaining! Guess the output. a = 15 b = 12 (a // 4 + b**3) < 2000 and (b % 4 != 0) Output: False Reason: b % 4 != 0 is False. (x1 and x2) is True only if x1 and x2 both are True. Therefore False.
@SagarPatel-kw3mj
@SagarPatel-kw3mj 5 жыл бұрын
Answer is False because """""""""" True and Flase gives Flase """"""""""""""""""""""""""""' your video is awesome❤❤❤❤❤
@sravankumar1983
@sravankumar1983 6 жыл бұрын
Hey dude, loving ur videos one more than another. Loving it
Number Systems Introduction - Decimal, Binary, Octal & Hexadecimal
10:57
The Organic Chemistry Tutor
Рет қаралды 1,9 МЛН
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
#11 Python Tutorial for Beginners | Operators in Python
11:07
Telusko
Рет қаралды 1,3 МЛН
#10 Python Tutorial for Beginners | Data Types in Python
14:35
Telusko
Рет қаралды 1,6 МЛН
Binary to Octal and Octal to Binary Conversion | Number Conversion
9:25
Learn Coding
Рет қаралды 1,1 МЛН
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 1 МЛН
#14 Python Tutorial for Beginners | Python BitWise Operators
12:42
#20 Python Tutorial for Beginners | While Loop in Python
12:43
Telusko
Рет қаралды 1,6 МЛН
How To Convert Decimal to Binary
13:24
The Organic Chemistry Tutor
Рет қаралды 4,9 МЛН
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН