How to Code PYTHON: if... elif... else Statement - Branch Code Execution in Python

preview_player
Показать описание
Let's get started! 🔥🔥🔥 In this video, 💁🏻‍♂️ we will show you how to write a PYTHON 🐍 program with some logic using if... elif... else statements and branch the execution of our code using Boolean expressions. In this lesson, you will learn some basics in less than 10 minutes!

In this video, you will learn how to :
★ 0:18 Use the if ... elif... else statements to add decision logic to your Python code.
★ 0:18 Compose Boolean expressions by using logic operators.
★ 3:31 Use nested if code blocks.

Tips and Tricks:
► Hit Ctrl+S to quickly save the changes to your file!
► Use the Tab key to insert four individual spaces. This indentation tells the Python interpreter that this code should run when the Boolean expression evaluates to True.
► If the Boolean expression evaluates to False, all of the indented code is ignored.

WANT MORE PYTHON TUTORIALS?
🐍 Python Coding for Beginners:

For the setup, please read the followings before you begin:
2. Install Python and remember to select "Add Python... to PATH" when asked.
4. Install the Python extension for Visual Studio Code: Go to View and select Extensions, or select the Extensions icon, then search for python.

👇 SUBSCRIBE TO KIDS' 👨🏻‍💻👩🏻‍💻 YOUTUBE CHANNEL NOW 👇

#CodingWithKids #PythonProgramming #PythonForBeginners
Рекомендации по теме
Комментарии
Автор

👦🏻👧🏻 Welcome to CODING WITH KIDS!
Hope you'll enjoy coding in PYTHON!

CodingWithKids
join shbcf.ru