if if if if if....elif
319,387
Published 2022-02-17
In this episode of Learn Python RIGHT NOW, NetworkChuck teaches how to let good Ben in using Nested Ifs and Elif statements!
FREE Python Lab: ntck.co/pythonep5
Support the course: ntck.co/pythonrightnow
🔥🔥Join the NetworkChuck membership: ntck.co/Premium
**Sponsored by ITProTV
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: discord.gg/networkchuck
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: www.instagram.com/networkchuck/
Twitter: twitter.com/networkchuck
Facebook: www.facebook.com/NetworkChuck/
Join the Discord server: bit.ly/nc-discord
0:00 ⏩ Intro
2:50 ⏩ Figure out if Ben is EVIL
3:23 ⏩ STEP ONE: Ask Ben if he is evil
4:22 ⏩ NEW CONCEPT: Nested IFs!!
5:48 ⏩ Nest the code under the Second If statement
6:38 ⏩ No nice Greeting for Nice Ben?!
7:18 ⏩ Make Ben feel special!!
9:50 ⏩ Robot Barista is doing a great job but changes are needed
11:03 ⏩ Messy fix for the menu
12:46 ⏩ NEW CONCEPT: Else If (ELIF)
14:58 ⏩ Let’s add an else
16:25 ⏩ CHALLENGE: Whipped Cream??
17:04 ⏩ Outro
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com/shop/networkchuck
Buy a Raspberry Pi: geni.us/aBeqAL
#python #pythonrightnow #learnpython
All Comments (21)
-
What I use to learn (the BEST IT training): ntck.co/itprotv (30% off FOREVER) *affiliate link In this episode of Learn Python RIGHT NOW, NetworkChuck teaches how to let good Ben in using Nested Ifs and Elif statements! FREE Python Lab: ntck.co/pythonep5 Support the course: ntck.co/pythonrightnow 🔥🔥Join the NetworkChuck membership: ntck.co/Premium **Sponsored by ITProTV 0:00 ⏩ Intro 2:50 ⏩ Figure out if Ben is EVIL 3:23 ⏩ STEP ONE: Ask Ben if he is evil 4:22 ⏩ NEW CONCEPT: Nested IFs!! 5:48 ⏩ Nest the code under the Second If statement 6:38 ⏩ No nice Greeting for Nice Ben?! 7:18 ⏩ Make Ben feel special!! 9:50 ⏩ Robot Barista is doing a great job but changes are needed 11:03 ⏩ Messy fix for the menu 12:46 ⏩ NEW CONCEPT: Else If (ELIF) 14:58 ⏩ Let’s add an else 16:25 ⏩ CHALLENGE: Whipped Cream?? 17:04 ⏩ Out
-
Hey Chuck please never stop the series i started learning it because of you man
-
Thanks, Chuck for continuing this series. I've recently gotten into Linux/Virtualisation/Python because of your channel. I love ALL of it, learning something new each day.
-
To the people this was recommended to 10 years in the future NetworkChuck was the most consistent youtuber back in 2022
-
I used to be a fan but after this masterpiece i'm a whole air conditioner
-
Thank you for the new episode! So far, you're the only fun, interesting and entertaining person I've seen to teach people Python and even Linux, making it look so easy!
-
Challenged solved: elif order == "Latte": whip = input("Do you want extra whip cream?") if whip == "yes": price = 11 else: price = 9
-
I wish my professors were like you. I swear I learn more from watching your videos than sitting for hours in a class. Thanks for the great content. <3
-
I'm taking python programming in college right now and your series is ALMOST on track with our class... I wish I had this video before my test yesterday because I got points off on the elif questions 😵💫 if this was posted on Tuesday I might have had a higher grade on my midterm!!!!
-
New episode on python made super simple.This is very "unique" man. Love how you make things so interesting.
-
I’ve gone through this whole series in a night and I can’t be thankful enough for 1) the raspberri pi I bagged on your birthday lol and the amount of knowledge and how easy you explain it to someone who has 0 idea about anything like this! I finished the challenge and felt so good, I will forever thank you for this and your other videos Chuck! I hope you read this and acknowledge how crucial you are to an entire generation and the ones to come!
-
Doing a python course for college super helpful. Something about the way you present the material is very simple and concise keep up the great work!
-
I just love coming to this channel and learning some thing new each day! Thanks, Chuck!
-
Amazing so far. I went from not knowing code yesterday to writing my own Barista in tandem with this. Even have a replit account now for it. Going to attempt to build a game with only what was learned from 1-5. Honestly almost had it but could not figure out "elif" on my own. Keep up the great work! You are honestly one of the greatest teachers I have had the pleasure to learn from.
-
chunk = input(" continuing teaching? ") if chunk = "yes": print("thanks, keep teaching") exit() else: print("you must teach, you can't leave us😅")
-
I've started college for programming and had little to none knowledge of this and the professors make it seem more complicated then it is and your showing it's easier then I thought it would be. Thanks for this series
-
love your python course ♥
-
Oh my god your teaching style is really effective. Your 3 (4) classes are the only experience I e had with coding and I was able to solve the “allow evil Ben into the shop” problem all by myself. Thank you so much for this!!!
-
Dude I love the pauses bc it makes me actually try and think it through, and I also did the challenge first try !! This course is sick!
-
Hey Chuck, this python playlist is truly the best I've ever seen. I literally opened a new file and started coding from your videos when I was nervous to even start by doing it. Your a great teacher and I learned a lot from your videos, excited to watch more and learn more.