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

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

Kylie Ying

4 года назад

19,688 Просмотров

Check out my new, more recent video here: https://youtu.be/iO1nQMPIuMs

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): https://www.youtube.com/playlist?list=PLkWv3oO4kHnuKi032yRRYgyQ4kgaNp6gs

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: https://www.youtube.com/playlist?list=PLkWv3oO4kHnuKi032yRRYgyQ4kgaNp6gs

Feel free to leave any questions.

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

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

Тэги:

#if_elif_else #beginner_python_learning #basic_python_principles #basic_python_tutorial_for_beginners #python_conditionals #python_programming #python_tutorial #python_lesson #conditional_statement #python_if_statement #if_else_statement #if_else_if_conditional_logic #conditional_logic_in_programming #branching_in_programming #if_branch #branching_using_if_statements #python_if_else_statement #python_if_else_elif_tutorial
Ссылки и html тэги не поддерживаются


Комментарии: