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

Опубликовано: 18 Март 2026
на канале: Kylie Ying
20,939
924

Check out my new, more recent video here:    • Conditionals: if, elif, else statements | ...  

In this learning python for total beginners video, I go over conditional statements in Python (if, elif, and else). This video is a part of the Code with Kylie series (learning python for the absolute beginner):    • Python for the Complete Beginner | Code wi...  

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:

More beginner principles:    • Python for the Complete Beginner | Code wi...  

Feel free to leave any questions.

Please consider subscribing if you liked this video: https://www.youtube.com/c/ycubed?sub_...

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Follow me on Instagram:   / kylieyying  
Follow me on Twitter:   / kylieyying  
Check out my website: https://www.kylieying.com