Using Conditionals (If, Elif, Else) in Python | Learning Python for Beginners | Code with Kylie #4

preview_player
Показать описание


If-statements are super important in implementing some decision-making logic into your code!! The logic works something like this:
If you love Taylor Swift's new album, print('I love Taylor Swift') !!!!

In this video, I show you the flowchart that displays the logic in if-statements, and I'll show you how they work using real examples executed in Python! Furthermore, I go over why if statements work with conditional statements that might not just be booleans (true/false). If statements also with with numbers, strings, lists, and so on.

Check out these additional resources:

Feel free to leave any questions.

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Рекомендации по теме
Комментарии
Автор

IF you like this video:
hit subscribe
click the like button
leave a comment
ELSE:
leave some feedback :P

KylieYYing
Автор

She is pretty and smart. That makes her pretty smart lol . Please continue to make these python videos. They are helpful ! Thank you !

HDorce
Автор

Your videos are the only thing helping me pass my python class! Keep up the great work!

BlackMoonPhantom
Автор

Please release more tutorials it is so helpful for intro level classes, thanks for the solid information for free 🙏

davidpolanki
Автор

Helped a lot with my assignment with that important note towards the end.

brianolendo
Автор

Now I get it. Excellent explanation, Thanks!

ACUARIO
Автор

The first thing I do in the morning is hear your voice I'm really obsessed with you😭😭😭😭😂♥️

pythonholic
Автор

yet another cool video! 👌
(4:56 was lit😄)

mayurravindra
Автор

Can I just say that your mistake actually was fitting! I say that because it actually makes your else statement stand out more. Secondly, my mind instantly interpreted it but in a Yoda voice! I love your videos and they are far more educational than anything my professor has given me.

TheRealDjBasha
Автор

WOW GREAT VIDEO!! Code + Taylor Swift is my fave!!

amyapostol
Автор

Hey i am a fan of both python and your beauty 😍😍

CUTSHOWSGAMING
Автор

Very cool cleared some doubts i had thank you, i was wondering if you could make a video on the django framework as i am going to be learning it soon and i wanna see a flask style tutorial it'd be really cool

pronglebot
Автор

Your beautiful + I love your videos soo much.
Well done dear.

nelsonchika
Автор

Hi kylie, I watch your every video, Can you please do in visual code, please

samirchamling
Автор

Perfect example but still stuck with a scenario trying to solve kindly help:Use conditionals to tell whether it is hot outside or not.If it is hot, assign the string "it is so hot out!" to variable is_it_hot.If it is not hot, assign the string "This is nothing! Bring on the heat."For our purpose anything over 80degrees is considered hot. In[1]: temprature_85=85 is_it_hot=None

victorougo
Автор

Hi.. I am Beginner (Mechanical domain) in the CS area.. can you please share some python lectures for Beginners.
Thank you

jitendersingh-jubz
Автор

Hello
do you know why there is an invalid error of elif in my program ? Thank you !!!

mirrormulti
Автор

Anyone know how she jumps around adding lines in the editor like that? I'm using Visual Studios

Twenti
Автор

how much time it takes you to make a video ( including filming + content + editing )

Divyansh-Tiwari
Автор

Is that a guitar over your left shoulder?

gapostol