Тёмный

How to Use If Else Statements in Python (Python Tutorial #2) 

CS Dojo
Подписаться 1,9 млн
Просмотров 2,4 млн
50% 1

This entire series in a playlist: goo.gl/eVauVX
Keep in touch on Facebook: / entercsdojo
Subscribe to my newsletter: www.csdojo.io/news
Support me on Patreon: / csdojo
Tips:
1. Follow along as I explain to make sure you understand everything
2. Ideally, work with a friend so you can help each other when you’re stuck
3. If you want to learn faster than I talk, I’d recommend 1.25x or 1.5x speed :)
4. Check the outline in the comment section below if you want to skip around.
5. Download the sample files here to follow along (they are Jupyter Notebook files): www.csdojo.io/python2
6. To make sure you don’t miss my future tutorial videos, sign up to my newsletter: www.csdojo.io/news
7. Have fun! If anything is unclear, please let me know in a comment.
Keep in touch on Facebook: / entercsdojo
Subscribe to my newsletter: www.csdojo.io/news
Support me on Patreon: / csdojo

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,6 тыс.   
@CSDojo
@CSDojo 6 лет назад
Below is an outline of this video. Also, a few tips: 1. Here is the playlist for this series: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z1Yd7upQsXY.html 2. Follow along as I explain to make sure you understand everything 3. Ideally, work with a friend so you can help each other when you’re stuck 4. If you want to learn faster than I talk, I’d recommend 1.25x or 1.5x speed :) 5. Check the outline in the comment section below if you want to skip around. 6. Download the sample files here to follow along (they are Jupyter Notebook files): www.csdojo.io/python2 7. To make sure you don’t miss my future tutorial videos, sign up to my newsletter: www.csdojo.io/news 8. Have fun! If anything is unclear, please let me know in a comment. 0:06: The outline 1:00: I already started learning another language. What should I do? 1:51: Creating a new Jupyter Notebook file 2:26: Executing a cell in Jupyter 2:57: Deleting and adding cells in Jupyter 4:47: How Jupyter’s kernals work 6:18: If statements 9:28: If-else statements 11:32: If-elif-else statements 15:00: If-else within if-else 17:12: Creating a BMI calculator
@aryanshukla2170
@aryanshukla2170 6 лет назад
CS Dojo thank you so much I was wondering since a couple of weeks searching for correct use of elif .. but no one explained it like you.. I never thought you would reply.. but you did. thank you so much
@vrushabhdhond
@vrushabhdhond 6 лет назад
Make machine learning video series 👍☺️
@ashugarg3196
@ashugarg3196 6 лет назад
love from India 🙏🙏🙏
@Alex-xc3ki
@Alex-xc3ki 6 лет назад
CS Dojo more please.
@decinos
@decinos 6 лет назад
Keep up nice work. Everytime you changed a line, Jupyter changes the line's number. So does it mean that the changed line was still in there? Can I edit a line?
@Fan-fi7jb
@Fan-fi7jb Год назад
Can we just take a moment to appreciate how this guy is making python so interesting and simple?
@rayaneelmoujahid2559
@rayaneelmoujahid2559 Год назад
you are right
@yusufalmaweri
@yusufalmaweri 10 месяцев назад
frl OMG HES LEGIT THE GOAT
@anushkaroy6666
@anushkaroy6666 6 лет назад
This is honestly 1000x better than my school teacher lol
@MeowIsKindaFunny
@MeowIsKindaFunny 5 лет назад
totally
@shafwa234
@shafwa234 5 лет назад
He wasn't he was just saying that he is a better teacher
@OsadeTOOT
@OsadeTOOT 5 лет назад
@@shafwa234 that's today's true, you can't even say the facts because people will think you are insulting
@kiro253
@kiro253 5 лет назад
@Gamez and more 924 wow ur ok kid?
@voyager7971
@voyager7971 5 лет назад
For Real my compsci teacher is trash, I dont learn the way she teaches
@lennoxlewis9513
@lennoxlewis9513 4 года назад
I would have probably paid attention in class if my school teacher was like him. Also this guy looks like a person who would make a perfect friend.
@filippians413
@filippians413 3 года назад
Awe thats nice
@AnonymousXvictoriouS
@AnonymousXvictoriouS 2 года назад
no you wouldn't... kids like to go crazy in class that would get him pissed Just being honest.....
@samaboasba6608
@samaboasba6608 3 месяца назад
I was recommended your videos by my 17 year old daughter. She said, she was struggling in class and the teacher was not that good (London based school). Your videos specially and a couple of others helped he pass her GCSEs computer science at grade 8 (A) without the need to pay for tuition and far better quality. To be recommended by kids you are a true teacher
@tariq0513
@tariq0513 5 лет назад
a = good teacher b = better than subscription based tutorials if a == b: print("agree") else: print("false") agree
@ashrafulhaider6426
@ashrafulhaider6426 5 лет назад
Intellectual one
@xrafter
@xrafter 4 года назад
You forget the""
@rickydawn6313
@rickydawn6313 4 года назад
Not coded right. You would get syntax error(most likely), and you would get false printed if you did put the proper syntax because a doesn't = b. Fuckaduckaloolooo
@ahmadk9856
@ahmadk9856 4 года назад
It will not work. But it did for me when i put a=("good") in braces don't know why
@thelifeofpaladin
@thelifeofpaladin 3 года назад
agree
@erikappelquist3363
@erikappelquist3363 6 лет назад
This is the most trouble I´ve ever gone through just to be called fat.
@schmetterling2169
@schmetterling2169 5 лет назад
Erik Appelquist LOOOOL IM DEAD HAHAHA
@byron7074
@byron7074 4 года назад
Lmaooo
@radiagulzan
@radiagulzan 4 года назад
ahahahhaha died 😂
@anupkumarbiswas2378
@anupkumarbiswas2378 4 года назад
LOL
@eatyourcereal4747
@eatyourcereal4747 4 года назад
Lol nice one
@rafiksalmi5951
@rafiksalmi5951 4 года назад
tutorial 1 : 5 million tutorial 2 : 1million views i can see what it the main prob in our generation :c
@rafiksalmi5951
@rafiksalmi5951 3 года назад
@Grammar police same for me i stoped in lesson #5 :'(
@lol-bg4wh
@lol-bg4wh 3 года назад
Rafik Salmi y
@yaroslavklykov1957
@yaroslavklykov1957 3 года назад
This is a practical issue, not a problem per se. Interest is actually satisfied with the very first lessons, then the person decides how necessary and applicable it for him specifically.
@Drakonus_
@Drakonus_ 3 года назад
Not enough dedication.
@rafiksalmi5951
@rafiksalmi5951 3 года назад
@@Drakonus_ i stoped to :( i got it why ppl stoped they all lazy like me :'(
@thatboyjwan5271
@thatboyjwan5271 4 года назад
You're literally helping me build my future, Ii'm forever grateful!!
@maybecrazy6934
@maybecrazy6934 3 года назад
@Md Ahsanul Islam i want to know too!!
@SWICHERLETSPLAY
@SWICHERLETSPLAY 3 года назад
I want to know as well
@ahmadfaisal9568
@ahmadfaisal9568 3 года назад
@@SWICHERLETSPLAY why u want to know u his daddy ?
@randomdude4304
@randomdude4304 2 года назад
@@ahmadfaisal9568 Because he might be going somewhere with it
@vishnuvengadeswaran1363
@vishnuvengadeswaran1363 5 лет назад
These tutorials look like something I would actually pay for! You're really thoughtful to teach Python to the world. You're an inspiration!
@techspotlight1280
@techspotlight1280 3 года назад
Hi
@Chironexe
@Chironexe 3 года назад
You might want to spend your money in a wiser fashion lmao
@ArnavYT
@ArnavYT 6 лет назад
Very Professional work, and the videos Clearly show the Effort you put into them. Very few channels like yours.. The subs here are going to increase exponentially
@WellingtonMSB
@WellingtonMSB 3 года назад
I am all in on CS dojo. Simple, thorough, easy to following and delivered in a natural tone.
@AyushSharma-it1sz
@AyushSharma-it1sz 3 года назад
you can simply run the program by pressing "shift+enter" instead of clicking it thank me later
@khunkyawmyintaung4778
@khunkyawmyintaung4778 3 года назад
Not later , Thank You bro
@JamesH377
@JamesH377 3 года назад
how does he start at the beginning of the line after print ("e is less than f")?
@kraigkatto2980
@kraigkatto2980 3 года назад
thx soooooooomuch
@pranavraja8296
@pranavraja8296 3 года назад
trick instead of saying a =1 and b = 2 in different lines just say a,b = 1,2
@juanitoreal4741
@juanitoreal4741 3 года назад
@@pranavraja8296 thanks, god
@clayvalarezo8647
@clayvalarezo8647 6 лет назад
YK! I just started learning Python. It is so empowering! I have seen two of your videos thus far, and they are amazing! Thank you for your passion and dedication to making these videos available to the public. I was on your Patreon account just now, and learned that you are no longer accepting donations for your work. This made me sad and happy all at once. I am happy that you can support yourself without Patreon, but sad that I could not contribute to your vision of making Python accessible to the public. I will subscribe to your channel, and follow you on facebook if that is the best way for me to contribute to you and your vision. Thank you very much for these tutorials. They are valuable beyond words. print("Thank you YK")
@swallowedinthesea11
@swallowedinthesea11 6 лет назад
Nice! Stay safe during the Coronavirus!
@mikeprincivil7615
@mikeprincivil7615 4 года назад
hey how far are you now? i am just starting and i don't have time to go to school for it. I will just buy book and follow videos
@bvipee6095
@bvipee6095 4 года назад
me too
@bvipee6095
@bvipee6095 4 года назад
as in I agree
@clintchrystie6727
@clintchrystie6727 4 года назад
@@mikeprincivil7615 me too
@yorha.a2
@yorha.a2 6 лет назад
cs_dojo = "awesome" if cs_dojo == "awesome": print("CS DOJO IS AWESOME!") else: print("CS DOJO IS SMART")
@chiragmadaan5919
@chiragmadaan5919 6 лет назад
Rahat Ali you should write first 2 lines like this cs_dojo = "awesome" if cs_dojo == "awesome": because awesome is a string and you have to put it between " ".
@yorha.a2
@yorha.a2 6 лет назад
Mr. Madaan I forgot 😂😂😂thanks for reminding😐
@Assassin-wt8ij
@Assassin-wt8ij 4 года назад
@@chiragmadaan5919 why are we putting 2 equal signs?
@volitionant9682
@volitionant9682 4 года назад
Visceral Hokage 2 equal signs means the equality operator. Just one equals sign means the assignment operator. Eg x=2 means I am storing the integer 2 inside x. Whereas x==2 means that x is now directly equal to 2. Equality operator is used for comparison, to check if 2 values are equal to each other whereas assignment is used to define variables, arrays etc. So if we defined x=2 and then checked whether x==2 then this would return true. However, if we forgot to assign 2 to x then x==2 would return false. The way of thinking here is reminiscent of algebra.
@kuldipyadav2453
@kuldipyadav2453 3 года назад
It's not as dojo it is yk
@elifyasui3983
@elifyasui3983 4 года назад
As a beginner student with no prior experience with any programming, I was very frustrated and lost in my introductory python course. My school assignments seem way too challenging for someone who is so new to this, and it is too fast paced for me to absorb all the information. I just watched your first tutorial and I love the simple way you explain this stuff for beginners like me!! I'll watch everything you put out so far. Thank you so much for doing this and sharing your knowledge to teach others. Now it feels like there is some hope for me to pass this class. Thank you!!!
@PatrickTicksbo
@PatrickTicksbo 3 года назад
You're the best coding teacher I've had. Thanks for making our life easier using available applications interfaces like Jupyter Notebooks and not trying to show yourself smarter using extensive command lines for everything.
@braddavids4095
@braddavids4095 6 лет назад
I just finished parts 1 and 2 of this python tutorial next up is part 3 I'm really enjoying it so far your tutorials are awesome, high quality, filled with great content and it's so easy to follow along; I learn so much! I also love that there's a little test or program that's made at the end of the tutorial, it gives me a chance to see what you've taught being put into use and I get to try it out for myself, I'm glad I found your channel, I'm definitely a subscriber!
@baselqhawiesh3660
@baselqhawiesh3660 5 лет назад
SAMEEEE
@veer8540
@veer8540 Год назад
Yep bro .....
@toniCbenn56
@toniCbenn56 2 года назад
Wow I was SO confused by if/else statements and in three minutes your examples broke it down in the simplest of terms. Thank you!!
@rxtdischarge7000
@rxtdischarge7000 3 года назад
People should know how better this is because cs dojo sir is the one of the best Google software developer who is teaching the youth to make them literate and prepare for future .
@berylgreen1973
@berylgreen1973 Месяц назад
Clearest videos on computer programming that I've ever watched. THANK YOU!
@afshakhan4589
@afshakhan4589 5 лет назад
You're one of the finest tutors I've found on RU-vid.. 👍God bless you.
@oguzkaanyilmaz2387
@oguzkaanyilmaz2387 5 лет назад
That was so smooth and clear. I'm sticking with you man. You're great!
@a6beats221
@a6beats221 2 года назад
I really appreciate the simplicity of your videos. I follow along with pycharm and as a total beginner I am learning a lot.
@willblot6359
@willblot6359 2 года назад
Bro your tutorials are the most informational and helpful BY FAR! I am a complete beginner trying to learn Python, and you made it infinitely better! Thank you so much!
@sanguinj
@sanguinj 4 года назад
YK, Your # 1 tutorial really attracted me after browsing tens of tutorials about Python. I am a Petroleum Engineer that graduated in 79. Now retired. Since the world of digitalization, Machine learning, etc attracts me a lot I have decided to learn Python. I hope I can use in my field in this new world of digitalization. In the 70 we all learned from college Fortran....So I am ready to keep learning from your great tutorials....Congratulations for sharing knowledge.regards jorge from Venezuela, living in Mexico
@graciec.9803
@graciec.9803 4 года назад
Python and ArcGIS Pro are awesome to learn together! Makes you a rockstar in the petroleum world or really any industry based around maps
@keerthanaanandan6062
@keerthanaanandan6062 4 года назад
If his teaching > your teacher: print("like this comment") else: print("turn this thumbs up into blue")
@jdapoet3138
@jdapoet3138 4 года назад
Keerthana Anandan lemme fix it for ya 🤨😉😗 Insert = input(“Type in bad adjectives : “) print(“Keerthana Anandan is “,Insert) Cs Dojo = 1 Teacher = 0 if Cs Dojo > Teacher: print(“Dislike this comment”) elif Cs Dojo > Teacher: print(“I will stop asking for likes”) else: print(“Dumb ass”)
@joeljames2829
@joeljames2829 4 года назад
Keerthana Anandan, I know it's a joke but.. Pretty sure you're gonna have a syntax error cause:- 1) 'his teaching' and 'your teacher' is not defined 2) If you're having 'his teaching' or 'your teacher' as a variable, it's wrong syntax cause variables cannot have spaces in them
@jdapoet3138
@jdapoet3138 4 года назад
Joel James ikr that s why i fixed that for him 😉
@shaughnduty6092
@shaughnduty6092 4 года назад
@@jdapoet3138 lol
@stray8468
@stray8468 4 года назад
They're both the same, turning the like button blue and liking the comment are identical variables so I'll play off what RBLXnoob said, Thus you'll use this icon ";" to show it's the same as that, Not else since it isn't something different.
@jai5834
@jai5834 2 года назад
I can't thank-you enough, you're by far the best online for beginners. Due to Covid I have to change careers as before I was a beautician, but here in Sydney we're still in a full LD. I've always had a love for IT and now I'm gonna pursue it. Thanks to you I actually understand it, tysm
@DivinityDark
@DivinityDark 2 года назад
Thank you so much for creating these videos as I just started uni and I have no clue how to use python but I can 100% confirm your presentation is 100 times better than sitting in a lecture for 2 hours.
@ervitah2143
@ervitah2143 5 лет назад
I'm a complete beginner and I find that your tutorials are super clear! Thank you for teaching on RU-vid :)
@areolsen694
@areolsen694 6 лет назад
I have actually tried to learn code before but i didnt understand anything but with you its not that bad! Thank you so much!!!!
@godspeed5428
@godspeed5428 3 года назад
I am a medical student.. I came here out of curiosity and watched the 1st 2 tutorials.. I literally don't know anything about coding or programming, i saw this was for absolute beginners and i clicked it. I created a bmi calculator and i am quiet happy & proud of myself.. I will surely stick till the end of this series. Thankyou
@gabymarquez9163
@gabymarquez9163 3 года назад
Your videos are the best ! You make it really easy to understand. Excited to try your Intro to Data Visualization w/ Python course!
@waqasbux8109
@waqasbux8109 6 лет назад
Love U Boss😍😍😍.. Keep it up👍👍👍... And Make Full Course Of python.. (Basic to Advance Levelx) Luv CS Dojo... 😘😘😘😘
@ifoundthistoday
@ifoundthistoday 5 лет назад
no need for two print statements - this works: print("bmi: ", bmi) print(name, "is not overweight")
@BilalAhmed-fd7hu
@BilalAhmed-fd7hu 4 года назад
Yeah but "bmi", bmi would be in the same line
@haworthluke
@haworthluke 4 года назад
i think he is trying to drum these statements into peoples heads bro this is for people with no coding experience
@ejcold1467
@ejcold1467 4 года назад
I have a question... Now plz cut me some slack bc I'm 12 so I don't have access to any programming material Plz tell me if you can try it ik its just variables , but I'm new to it and I would like to understand coding better Chargaffs rule A = T G = C Now, since chargaff's rule will rely on a single number, you give any variable a value Ok let's say it's C = 13 Since C is equal to G, now G is 13 Next... A = T (A+T) + (G+C) = 100 First of all I just wanna say that this is confidential because I haven't tried it myself, but the code should look like this A = any given number A = T G = C (A + T) + (C + G) = 100 I'm not sure, but now try: Print(G) So let's say if A is 13 that would mean that T is 13. Together, hence the numbers in parenthesis, this will be 26 The program will automatically do the math and understand that it subtracts and then divides by two to get G G, in this case would equal 37 Anyone that sees this, plz understand that this is confidential, not likely. Also, tell me if it works if you can do it.
@ejcold1467
@ejcold1467 4 года назад
Looking at it, I think that the code wouldn't work bc of the order of them I don't think that g can equal c if it's not defined yet, so try A = any given value A = T 100 - (A + T) This will be more manual than the last code I wrote bc it will need a little more code But anyways... I'm not sure how you would work the next thing without knowing the value first If you have any answers, plz comment back.
@BilalAhmed-fd7hu
@BilalAhmed-fd7hu 4 года назад
@@ejcold1467 I tried it I got an error saying t is not defined Btw you can use a python on an android device with Internet
@donasaha1936
@donasaha1936 Год назад
Ur an honest teacher who wants to help learners .. unlike other self advertising tutorial vdos . I’ll follow all ur vdos .. May God bless u with more knowledge.
@LG-ff5bn
@LG-ff5bn 4 года назад
Started my bachelor in computer science... The teacher didnt make much sense of python but after this 20min... It was a lot easier to understand. Awesome work CS Dojo 👍😘
@aravindadeejayz3847
@aravindadeejayz3847 5 лет назад
YK appreciated you proved that coding is easier Keep continue. I'll stick with your channel thank you
@frankenstein7898
@frankenstein7898 4 года назад
# :"If" statements are the starter , "Elif" are the mediocre conditions and the last condition to be expected from is "Else", Always go by this order.
@reginaaguilar5529
@reginaaguilar5529 4 года назад
I started watching this video just to know the basics of Python for a school project, but now I want to learn more, because of you.
@kacpertrzeciak7060
@kacpertrzeciak7060 3 года назад
Your explaining has helped so much. I've started undertanding what is happening instead of seing random numbers and symbols. Thank you!!!
@haruino
@haruino 6 лет назад
You're great man! Keep doing your work.
@nellyy2157
@nellyy2157 4 года назад
Im lucky to find this guy for python tutorials... i can clearly understand him... tnx so much :)
@kamalovbakhadir7510
@kamalovbakhadir7510 Год назад
One of best tutorials out there. Very much detailed. Many cases, now, makes sense to me. Thank you man!
@BailaZumba
@BailaZumba 2 года назад
I be darned. Spent three days on this in AWS re/Start with a horrible instructor and didn't get it. 20 min - and it's all clear. Thank you
@tusharedits9
@tusharedits9 4 года назад
Hey YK, Thank you so much for these python tutorials. It is just so easy to understand all the concepts. You are such a great teacher, I wish you were in my school as my computer teacher. But, no problem. I hope that we will soon meet somewhere. Thank You again for your wonderful videos.
@kanialoutis2034
@kanialoutis2034 6 лет назад
thank u man..love ur videos...cant wait for next python tutorial:)
@akramdahmani7214
@akramdahmani7214 6 лет назад
sorry is this your real name kaniel outis cuz it's familiar to me???
@IRWING123ful
@IRWING123ful 7 месяцев назад
the best tutorial for python i have ever seen on youtube. I have never ever in my life used any code langue. awesome job
@ninawhisper
@ninawhisper 3 года назад
I find this 2 years later, whyyyyyyy??! I find this so much fun and entertaining, I'm literally skipping homework to learn coding
@bdyfitness48
@bdyfitness48 2 года назад
Hey YK, i honestly think you're a gifted teacher. You should consider teaching at the university at some point. You explain things very well.
@MuhammadAhmad-ne4bm
@MuhammadAhmad-ne4bm 5 лет назад
we can't thanks you enough for your great work ... lots of love
@sushanthreddy8789
@sushanthreddy8789 3 года назад
probably the best teacher I've seen in many programming tutorials
@shihuipang98
@shihuipang98 4 года назад
Hey YK, just wanna say that I'm so grateful that you're around. You're really giving. Thanks :))
@filippians413
@filippians413 3 года назад
I've literally just decided to learn how to code and I can tell I found a great channel to start the process. Thanks for making it easy to understand! Do you recommend taking formal classes in college?
@damiennewman1992
@damiennewman1992 3 года назад
I would also like to hear this answer. I'm doing this as a hobby, but I'm curious if there is other information related to programing that I should be learning in addition to python itself.
@Miguel-qe6kw
@Miguel-qe6kw 6 лет назад
I love your videos you deserve more suscribers. by the way i learned so much about your videos i learned more than my school 😂😂😂
@koushikneriyanuri5420
@koushikneriyanuri5420 4 года назад
he deserved it.
@dadumuhammed1231
@dadumuhammed1231 3 года назад
Your the best online teacher I have seen,you really simplified this topic coz i was somehow discouraged to go on with it,but with your lessons I feel highly motivated keep the good work,thx
@kasperderej7401
@kasperderej7401 4 года назад
Man, you deserve an infinite amount of appreciation. You do a great job teaching; thank you!!!
@lfb640
@lfb640 6 лет назад
It's great, I hope I can upload videos more often
@rift3354
@rift3354 5 лет назад
@David Sinca Maybe he said I fam.
@rift3354
@rift3354 5 лет назад
@David Sinca k, m8
@krischurch3763
@krischurch3763 5 лет назад
M, k8
@ojasplays1899
@ojasplays1899 6 лет назад
Awesome work man keep it up
@duncanmwangi3468
@duncanmwangi3468 3 года назад
Long live CS Dojo, Good job, I need to transition from Hardware to coding your tutorials are heaven sent
@twarmary8041
@twarmary8041 3 года назад
I love your tutorial, you are a great teacher. I like the way you take everything step by step. Makes it easier to understand than expected
@windestruct
@windestruct 3 года назад
Meanwhile my school teacher: okay so we are now using python please write print("hello world")
@roeemayer8242
@roeemayer8242 3 года назад
*doesn't explain what it does by end of class*
@doc9897
@doc9897 3 года назад
Am happy i just found the real lecture for python courses. I am a php web based programmer now i want to extend my knowledge on programming and i hsve started to learn python
@itpugil
@itpugil 3 года назад
This guy is good, not a boring teacher at all. Learning python after a couple of years of always putting it off. Wanna see what I can do with it in a linux environment for systems, network and server administration. Also if you guys don't want the hassle of installing programs to get an IDE going, go to repl.it/, you have an IDE via your browser. :)
@ivangushkov3651
@ivangushkov3651 5 лет назад
0:36 oof right in the feels, I know I gotta hit the gym more often in exam periods but you don´t have to be this passively aggressive about it :D
@sumitsoni8596
@sumitsoni8596 6 лет назад
plz make video on algorithm for beingners
@JohnDoe-fz7hz
@JohnDoe-fz7hz 3 года назад
awesome job you did!!! started yesterday to watch your tutorial! easy to follow each step and very good explained! keep going!!! And thank you very much!!!
@williamlee1006
@williamlee1006 4 года назад
thank you for making these videos, they are easy to follow and help to build my confidence as I learn from you, hopefully this will mark the beginning of a career change for me
@mobarakjama5570
@mobarakjama5570 6 лет назад
thank you , you are one of my favorite things in the world your dedication and hard work are appreciated. we just started programming in University so this should help like a lot so i was wandering what is memory management ? i heard that c++ doesn't have auto memory management , and thanks.
@fivesquaredyt2521
@fivesquaredyt2521 5 лет назад
Mobarak Jama you have to manage memory, python does it for you along with havascript, java, etc. C and C++ require you to use pointers, which is basically memory mangers. It’s faster but harder, but until you are advance, it ant matter for now
@vrushabhdhond
@vrushabhdhond 6 лет назад
Make machine learning video series 👍☺️
@omerfarukpak6958
@omerfarukpak6958 6 лет назад
LD Wyze you?
@TencupsGaming
@TencupsGaming 6 лет назад
???????????????????????????????????????????????
@ricardofricke8297
@ricardofricke8297 6 лет назад
This would be really cool. Maybe you can youse the menace (tic tac toe) example
@tobiass.8496
@tobiass.8496 6 лет назад
Nickk Bisht Why should they fire him?
@OrangeAlert
@OrangeAlert 6 лет назад
I agree that he was hired and that liking your own comment is bad.
@ahmedkhalid445
@ahmedkhalid445 4 года назад
Excellent description, thoroughly enjoyed it as a new beginner.
@gabkuskume8597
@gabkuskume8597 4 года назад
Whoa... English is not even my first language but I can understand everything you're telling. You make it so simple compared to other videos I watched before.
@palestinian5543
@palestinian5543 6 лет назад
Ur the best eveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeer
@bikkey123
@bikkey123 6 лет назад
can you give like homework exercises on these? xD its stupid but it may help
@ghost-4783
@ghost-4783 5 лет назад
Indeed! I learn so much more with tasks and challenges, with copy and paste i forget within a few days :(
@nirv2796
@nirv2796 5 лет назад
Ghost - 47 Just make your own homework copying the wording he uses and make a situation like print something where it’s supposed to be a>1 but a is 2 so make code demonstrating that
@TheKingOfHero1
@TheKingOfHero1 5 лет назад
@@ghost-4783 maybe you can find some real situations. Sr for my bad English.
@herbgreek5139
@herbgreek5139 4 года назад
@@ghost-4783 I forget after a few seconds
@volitionant9682
@volitionant9682 4 года назад
You can put your knowledge to the test by tackling problem sets on sites such as codingame.com. But I would only suggest doing these once you are at least somewhat accustomed to the fundamentals of programming. Hackerrank.com also provides problem sets which are very simple to begin with and more suitable for absolute beginners.
@Monalicious622
@Monalicious622 4 года назад
this way better then just taking a bootcamp and doing it on your own, the way you explain you make it so much easier to understand.
@lost_butterfly314
@lost_butterfly314 3 месяца назад
i just saw your videos today sir , i must say you are teacher in a real sense
@raknos13
@raknos13 6 лет назад
Or you can also use string concatenation: print(name + " is not overweight")
@siddhijha894
@siddhijha894 6 лет назад
Thank u You r quick too 😍😍
@akshahantrasena3756
@akshahantrasena3756 5 лет назад
Really?
@akshahantrasena3756
@akshahantrasena3756 5 лет назад
Siddhi Jha really?
@bears2970
@bears2970 3 года назад
just wanted to say thank you...I've been following this playlist and taking notes...thx cs
@magotelecom
@magotelecom Год назад
Thank you very much Dojo for the way you explained the 4 space indent . That was extremely well done.
@ElTovarish
@ElTovarish 3 года назад
Finally, I now can make Yandere Simulator
@K2KOfcoursegg
@K2KOfcoursegg 3 года назад
*Accidentally create minecraft*
@ronaldo65ful
@ronaldo65ful 3 года назад
Lmfaoooo Ayo send the link when you done
@bigg6544
@bigg6544 3 года назад
maybe you can finally finish it before yandere dev does
@Test-ri2kr
@Test-ri2kr 3 года назад
El Tovarish Geometry Dash
@T.JacobMain
@T.JacobMain 3 года назад
Lmaoo. I legit named my file yandere dev
@Birginio420
@Birginio420 4 года назад
One day, when I'm not broke asf anymore, I'll donate to all the Patreons of people who teach us something
@edkreso8492
@edkreso8492 4 года назад
Thank you so much! The way you explain things is much better than most teachers do
@chrisfulop8403
@chrisfulop8403 4 года назад
Love your videos! I am just starting to learn python & learning a lot from your teachings. Thank you
@banitamitra4879
@banitamitra4879 6 лет назад
Sir, I am using python 3.6.4 shell. In this i am unable to type two lines together as print (a) print (b) how this problem can be solved?
@hunchortw
@hunchortw 4 года назад
there's a gap between print and the letter it should be print(a) *no gap*
@missnonsense1263
@missnonsense1263 4 года назад
print(a,b)
@Drakonus_
@Drakonus_ 3 года назад
No spacebar between the print and (a). So it's print(a) instead of print (a).
@slippery_gecko9274
@slippery_gecko9274 5 лет назад
a = 3 b = 2 if a < b: print("a is less than b my boi") elif a == b: print("the bois seem to have the same value") else: print("b is the bigger boi")
@lakshmib3298
@lakshmib3298 4 года назад
Its boy goddamit
@slippery_gecko9274
@slippery_gecko9274 4 года назад
@@lakshmib3298 print("boi dont make me debug your ass")
@kiambimusa7612
@kiambimusa7612 2 года назад
This is just far much helpful than most python tutorials on RU-vid
@kevinjasarovski9828
@kevinjasarovski9828 4 года назад
just started coding/programing on my chromebook thx for all the videos! they are really helpful (y)
@harsheyts5047
@harsheyts5047 6 лет назад
How many program. languages do you know yk?
@blackzetsu3229
@blackzetsu3229 4 года назад
Its just like I'm still learning English in my 9th grade.
@tcbandeira
@tcbandeira 4 года назад
I'm Brazilian and this python's lessons is very nice to build my portifolio's projects! Ty so much Teacher!
@daichimax
@daichimax Год назад
You are a good teacher! あなたはよい先生だ! Thank You for sharing your knowledge! 知識を共有していただきありがとうございます。
@HozDHearts
@HozDHearts 5 лет назад
why in "bmi = weight / ( height ** 2)" you used parenthesis just in height? does it have a special meaning?
@swallowedinthesea11
@swallowedinthesea11 5 лет назад
It takes precedence; remember order of operations from school? total = 5 + 90 * 2 # 185 total = (5 + 90) * 2 # 190
@cheesywiz9443
@cheesywiz9443 4 года назад
in this case no but if you were doing something like a/(b+2) then writing a/b + 2 would give you the wrong answer
@aryanshukla2170
@aryanshukla2170 6 лет назад
What is the difference between if & elif statement. When we use elif statements
@CSDojo
@CSDojo 6 лет назад
Basically you need to use elif when you need to deal with 3 or more conditions!
@MahendraSingh-nb7ui
@MahendraSingh-nb7ui 6 лет назад
Aryan_newyork elif stunds for " else if " . The code inside elif is run only when the if condition is false ( the elif condition needs to be true as well ). This is different from else which runs when if condition is false and does not take condition.
@allenz.4153
@allenz.4153 6 лет назад
When if and else cannot meet your need :)
@primedynamixx
@primedynamixx 4 года назад
Thank you for your help and how you break down things. I was struggling with Three House.
@lightsandglass
@lightsandglass 4 года назад
My mind is blown! I can actually understand these, so excited to learn more!
@LucianC137
@LucianC137 5 лет назад
You should have done all this in pycharm because this jupyter thing looks a bit confusing.
@AmitJoshi-cj7fd
@AmitJoshi-cj7fd 4 года назад
Dojo plz tell us why did you write Print("bmi:" ) Print("bmi")
@jamalifehelpersglobalghana7775
@jamalifehelpersglobalghana7775 4 года назад
The first " bmi: " is a string. But the second (bmi) is already a defined variable ( which is the bmi formula) Two different bmi there bro
@intoxicatedtiger7457
@intoxicatedtiger7457 3 года назад
Also so it is on a new line
@afraimuangnory7195
@afraimuangnory7195 Месяц назад
You are the best for me , you have made me developed much interest in programming by making programming easier and understandable. Thank you so much .
@biggee1
@biggee1 3 года назад
This is the best video course on Python, although am 18 years old ;i have learned quite a lot. Thank you so much.