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

  Рет қаралды 2,405,719

CS Dojo

CS Dojo

Күн бұрын

Пікірлер: 2 600
@CSDojo
@CSDojo 6 жыл бұрын
Below is an outline of this video. Also, a few tips: 1. Here is the playlist for this series: kzbin.info/www/bejne/kGK8lWqrpbamjrs 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 2 жыл бұрын
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 Жыл бұрын
frl OMG HES LEGIT THE GOAT
@anushkaroy6666
@anushkaroy6666 6 жыл бұрын
This is honestly 1000x better than my school teacher lol
@MeowIsKindaFunny
@MeowIsKindaFunny 6 жыл бұрын
totally
@shafwa234
@shafwa234 6 жыл бұрын
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
@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 4 жыл бұрын
agree
@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 4 жыл бұрын
Awe thats nice
@AnonymousXvictoriouS
@AnonymousXvictoriouS 3 жыл бұрын
no you wouldn't... kids like to go crazy in class that would get him pissed Just being honest.....
@WellingtonMSB
@WellingtonMSB 3 жыл бұрын
I am all in on CS dojo. Simple, thorough, easy to following and delivered in a natural tone.
@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 4 жыл бұрын
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
@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 5 жыл бұрын
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 5 жыл бұрын
me too
@bvipee6095
@bvipee6095 5 жыл бұрын
as in I agree
@clintchrystie6727
@clintchrystie6727 4 жыл бұрын
@@mikeprincivil7615 me too
@thatboyjwan5271
@thatboyjwan5271 5 жыл бұрын
You're literally helping me build my future, Ii'm forever grateful!!
@maybecrazy6934
@maybecrazy6934 4 жыл бұрын
@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 ?
@jason401.
@jason401. 3 жыл бұрын
@@ahmadfaisal9568 Because he might be going somewhere with it
@samaboasba6608
@samaboasba6608 7 ай бұрын
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
@erikappelquist3363
@erikappelquist3363 6 жыл бұрын
This is the most trouble I´ve ever gone through just to be called fat.
@schmetterling2169
@schmetterling2169 6 жыл бұрын
Erik Appelquist LOOOOL IM DEAD HAHAHA
@byron7074
@byron7074 5 жыл бұрын
Lmaooo
@radiagulzan
@radiagulzan 5 жыл бұрын
ahahahhaha died 😂
@anupkumarbiswas2378
@anupkumarbiswas2378 5 жыл бұрын
LOL
@eatyourcereal4747
@eatyourcereal4747 5 жыл бұрын
Lol nice one
@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 2 жыл бұрын
Yep bro .....
@berylgreen1973
@berylgreen1973 4 ай бұрын
Clearest videos on computer programming that I've ever watched. THANK YOU!
@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!!!
@sanguinj
@sanguinj 5 жыл бұрын
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
@afshakhan4589
@afshakhan4589 6 жыл бұрын
You're one of the finest tutors I've found on KZbin.. 👍God bless you.
@AyushSharma-it1sz
@AyushSharma-it1sz 4 жыл бұрын
you can simply run the program by pressing "shift+enter" instead of clicking it thank me later
@khunkyawmyintaung4778
@khunkyawmyintaung4778 4 жыл бұрын
Not later , Thank You bro
@JamesH377
@JamesH377 4 жыл бұрын
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
@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!!
@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.
@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 4 жыл бұрын
It's not as dojo it is yk
@ifoundthistoday
@ifoundthistoday 6 жыл бұрын
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
@nellyy2157
@nellyy2157 4 жыл бұрын
Im lucky to find this guy for python tutorials... i can clearly understand him... tnx so much :)
@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 4 жыл бұрын
@Grammar police same for me i stoped in lesson #5 :'(
@lol-bg4wh
@lol-bg4wh 4 жыл бұрын
Rafik Salmi y
@yaroslavklykov1957
@yaroslavklykov1957 4 жыл бұрын
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_ 4 жыл бұрын
Not enough dedication.
@rafiksalmi5951
@rafiksalmi5951 4 жыл бұрын
@@Drakonus_ i stoped to :( i got it why ppl stoped they all lazy like me :'(
@sushanthreddy8789
@sushanthreddy8789 3 жыл бұрын
probably the best teacher I've seen in many programming tutorials
@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!!!!
@waqasbux8109
@waqasbux8109 6 жыл бұрын
Love U Boss😍😍😍.. Keep it up👍👍👍... And Make Full Course Of python.. (Basic to Advance Levelx) Luv CS Dojo... 😘😘😘😘
@oguzkaanyilmaz2387
@oguzkaanyilmaz2387 5 жыл бұрын
That was so smooth and clear. I'm sticking with you man. You're great!
@humarafique3093
@humarafique3093 11 ай бұрын
Such a true mentor for me in learning python, As I'm totally new in this programming world and you made me easy this, Thank you so much
@engrlindanwaeto
@engrlindanwaeto 10 ай бұрын
Same here
@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.
@aravindadeejayz3847
@aravindadeejayz3847 5 жыл бұрын
YK appreciated you proved that coding is easier Keep continue. I'll stick with your channel 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.
@doc9897
@doc9897 4 жыл бұрын
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
@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.
@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 5 жыл бұрын
he deserved it.
@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 5 жыл бұрын
Its boy goddamit
@slippery_gecko9274
@slippery_gecko9274 5 жыл бұрын
@@lakshmib3298 print("boi dont make me debug your ass")
@keerthanaanandan6062
@keerthanaanandan6062 5 жыл бұрын
If his teaching > your teacher: print("like this comment") else: print("turn this thumbs up into blue")
@jdapoet3138
@jdapoet3138 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
Joel James ikr that s why i fixed that for him 😉
@shaughnduty6092
@shaughnduty6092 5 жыл бұрын
@@jdapoet3138 lol
@stray8468
@stray8468 5 жыл бұрын
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.
@loniloni6716
@loniloni6716 3 жыл бұрын
This guy is born to be a teacher . amazing
@duncanmwangi3468
@duncanmwangi3468 3 жыл бұрын
Long live CS Dojo, Good job, I need to transition from Hardware to coding your tutorials are heaven sent
@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.
@filippians413
@filippians413 4 жыл бұрын
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 4 жыл бұрын
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.
@sumitsoni8596
@sumitsoni8596 6 жыл бұрын
plz make video on algorithm for beingners
@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!
@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
@bikkey123
@bikkey123 6 жыл бұрын
can you give like homework exercises on these? xD its stupid but it may help
@ghost-4783
@ghost-4783 6 жыл бұрын
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 5 жыл бұрын
@@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.
@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 5 жыл бұрын
there's a gap between print and the letter it should be print(a) *no gap*
@concentratedhydrochloricacid
@concentratedhydrochloricacid 4 жыл бұрын
print(a,b)
@Drakonus_
@Drakonus_ 4 жыл бұрын
No spacebar between the print and (a). So it's print(a) instead of print (a).
@windestruct
@windestruct 4 жыл бұрын
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*
@itpugil
@itpugil 4 жыл бұрын
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. :)
@gavinfraser3607
@gavinfraser3607 2 ай бұрын
Excellent teacher and very well educated!! For the very first time I am understanding and learning the basics of Python!! Thank you very much for sharing your knowledge and expertise.!!!
@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
@haruino
@haruino 6 жыл бұрын
You're great man! Keep doing your work.
@raknos13
@raknos13 6 жыл бұрын
Or you can also use string concatenation: print(name + " is not overweight")
@jammingcoconut2132
@jammingcoconut2132 3 жыл бұрын
This is such a good teacher its so free,auto stay in ads so this guy gets money
@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
@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???
@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
@MuhammadAhmad-ne4bm
@MuhammadAhmad-ne4bm 5 жыл бұрын
we can't thanks you enough for your great work ... lots of love
@gabymarquez9163
@gabymarquez9163 4 жыл бұрын
Your videos are the best ! You make it really easy to understand. Excited to try your Intro to Data Visualization w/ Python course!
@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 .
@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
@ElTovarish
@ElTovarish 4 жыл бұрын
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
@AmitJoshi-cj7fd
@AmitJoshi-cj7fd 5 жыл бұрын
Dojo plz tell us why did you write Print("bmi:" ) Print("bmi")
@jamalifehelpersglobalghana7775
@jamalifehelpersglobalghana7775 5 жыл бұрын
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 4 жыл бұрын
Also so it is on a new line
@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.
@kamalovbakhadir7510
@kamalovbakhadir7510 Жыл бұрын
One of best tutorials out there. Very much detailed. Many cases, now, makes sense to me. Thank you man!
@LucianC137
@LucianC137 6 жыл бұрын
You should have done all this in pycharm because this jupyter thing looks a bit confusing.
@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
@hiranath1699
@hiranath1699 4 жыл бұрын
So print (“bmi: “) is for string and another print(bmi) is for the integer, right?
@MohamedELAMRANIinarma
@MohamedELAMRANIinarma 4 жыл бұрын
yes right
@kiambimusa7612
@kiambimusa7612 3 жыл бұрын
This is just far much helpful than most python tutorials on KZbin
@alexrichards4286
@alexrichards4286 3 жыл бұрын
a = 8100 b = 90 if a == b: print("yes of the softest type") else: if a < b: print("No of the hardest type") elif a > b + 80: print("it is a deadlock, stand down") if a == b ** 2: print("a is truely false")
@blackzetsu3229
@blackzetsu3229 4 жыл бұрын
Its just like I'm still learning English in my 9th grade.
@palestinian5543
@palestinian5543 6 жыл бұрын
Ur the best eveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeer
@harsheyts5047
@harsheyts5047 6 жыл бұрын
How many program. languages do you know yk?
@jai5834
@jai5834 3 жыл бұрын
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
@arjenlazaro2875
@arjenlazaro2875 2 жыл бұрын
i just finished tutorial #2 and this have been really helpfull for me as im in my 2nd yr of college now. sir thank u for this
@keerthanaanandan6062
@keerthanaanandan6062 5 жыл бұрын
Who else watching this on July/2019 ❤️
@kareemabdelaziz352
@kareemabdelaziz352 5 жыл бұрын
me
@jdapoet3138
@jdapoet3138 5 жыл бұрын
Try this code 😗 don t copy paste it will get error import random random = random.randint(1,4) print(“Random number: “,random) if random == 1: print(“Cs Dojo is the best”) elif random == 2: print(“i love Cs Dojo!!!”) elif random == 3: print(“Cs Dojo is much better than my teacher!!!”) else: print(“i probably did sth wrong at line 2 “)
@AmitJoshi-cj7fd
@AmitJoshi-cj7fd 5 жыл бұрын
Yes
@AmitJoshi-cj7fd
@AmitJoshi-cj7fd 5 жыл бұрын
Why did he write Print ( "bmi: ") 😪😪
@Tall-Cool-Drink
@Tall-Cool-Drink 4 жыл бұрын
"elif"? They couldn't use "else if" like other languages? I guess python had to be different from others.
@Drakonus_
@Drakonus_ 4 жыл бұрын
Probably just tryna be quirky
@justashushi
@justashushi 4 жыл бұрын
Me: Im now a programmer.🤓 Thumbnail : im i a joke to you.😈
@fabulum149
@fabulum149 4 жыл бұрын
No what's a joke is your grammar, no offence.
@supersister7254
@supersister7254 4 жыл бұрын
@@fabulum149 your also!!🤷🏼‍♀️
@fabulum149
@fabulum149 4 жыл бұрын
SUPER SISTER How?
@naveensundar4765
@naveensundar4765 4 жыл бұрын
@@fabulum149 lmao n1
@Saad-hi1zz
@Saad-hi1zz 4 жыл бұрын
so good explained i am a 11yearold learning how to program i have done qbasic but python looked much better for me so i saw your video and voila main talk of my class myself
@LG-ff5bn
@LG-ff5bn 5 жыл бұрын
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 👍😘
@siddhijha894
@siddhijha894 6 жыл бұрын
Thank u You r quick too 😍😍
@akshahantrasena3756
@akshahantrasena3756 6 жыл бұрын
Really?
@akshahantrasena3756
@akshahantrasena3756 6 жыл бұрын
Siddhi Jha really?
@mesutguneri5519
@mesutguneri5519 6 жыл бұрын
DOES PYTHON BITE ME?
@omerfarukpak6958
@omerfarukpak6958 6 жыл бұрын
Mesut Güneri heryerdesin
@MagmaBlitzer
@MagmaBlitzer 6 жыл бұрын
No, anaconda does
@suyanshrestha1782
@suyanshrestha1782 6 жыл бұрын
No, it swallows you
@ajeeshkarthikeyan5569
@ajeeshkarthikeyan5569 5 жыл бұрын
If u dont understand. ...
@afterrain37
@afterrain37 4 жыл бұрын
Why do you always say "Jupyter Notebook" quickly lmaoo
@anushkaroy6666
@anushkaroy6666 3 жыл бұрын
loll
@donasaha1936
@donasaha1936 2 жыл бұрын
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.
@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!!!
@biggee1
@biggee1 4 жыл бұрын
This is the best video course on Python, although am 18 years old ;i have learned quite a lot. Thank you so much.
@maba5202
@maba5202 7 ай бұрын
you explain coding so much better than my professor and the slides are terrible. Thank you so much man!
@afraimuangnory7195
@afraimuangnory7195 4 ай бұрын
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 .
@IRWING123ful
@IRWING123ful 11 ай бұрын
the best tutorial for python i have ever seen on youtube. I have never ever in my life used any code langue. awesome job
@tcbandeira
@tcbandeira 4 жыл бұрын
I'm Brazilian and this python's lessons is very nice to build my portifolio's projects! Ty so much Teacher!
@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.
@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.
@lost_butterfly314
@lost_butterfly314 7 ай бұрын
i just saw your videos today sir , i must say you are teacher in a real sense
@kasperderej7401
@kasperderej7401 4 жыл бұрын
Man, you deserve an infinite amount of appreciation. You do a great job teaching; thank you!!!
@teachergeoff9833
@teachergeoff9833 2 жыл бұрын
Buddy! Thank you so much! I don't know shit about coding and now I feel like I know a little. I am going to go through this whole series!
@daichimax
@daichimax Жыл бұрын
You are a good teacher! あなたはよい先生だ! Thank You for sharing your knowledge! 知識を共有していただきありがとうございます。
@jennytai88
@jennytai88 4 жыл бұрын
I was in the process of learning UI/UX and thought I might pick up basic Python just so I can understand one programming language. I signed up to a TAFE course teaching Python (an Australian technical college network). Instead of teaching how to use Python, they make it super hard by talking about programming, but in the first place I have no clue about programming. (The course must have been written by an academic) Goodness me. I feel as if I'd never be able to learn Python. Luckily I found this video, after watching this video, the course material started to make sense. Why can't normal classes teach like CSDOJO, well done mate!!
@rimjhimdeb4314
@rimjhimdeb4314 4 жыл бұрын
Hello YK I just wanted to tell you that you are sooooooo good and the way you teach really interests Many people.... I guess you will be a really good father...
@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.
@homakwangu
@homakwangu 4 жыл бұрын
c = 25 d = 10 if c < d: print ("c is LESS than d") else: if c==d: print ("c is EQUAL to d") else: print ("c is greater than d") THIS ALSO WORKS
How To Use Functions In Python (Python Tutorial #3)
14:55
CS Dojo
Рет қаралды 2,4 МЛН
Python Tutorial for Absolute Beginners #1 - What Are Variables?
24:38
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3 МЛН
If Else Statements in Python // Python RIGHT NOW!! // EP 4
14:19
NetworkChuck
Рет қаралды 410 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 124 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 333 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
If statements in Python are easy (if, elif, else) 🤔
8:21
Bro Code
Рет қаралды 133 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 3,2 МЛН
ASMR Programming - Coding Pacman - No Talking
1:21:19
Servet Gulnaroglu
Рет қаралды 2,7 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 536 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44