ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

CONDITIONAL Statements in Python (IF, ELIF, ELSE, Nested, Ternary Operators) - Python for Beginners

Автор: Digital Academy

Загружено: 2020-03-27

Просмотров: 3965

Описание: 🎓 Welcome back to Digital Academy, the Complete Python Development Tutorial for Beginners, which will teach you How to control the execution flow in your program, using Expressions and Conditional Statements in Python: IF, ELIF, ELSE - and more!

▬▬▬▬ 📖 Content ▬▬▬▬

🖥️ Everything you have seen so far, has consisted of sequential execution, in which statements are always performed, one after the next - and exactly in the order you specified, explicitly!

But the World is often more complicated than that. Frequently, a program needs to skip over some statements, execute a series of statements, repetitively - or even choose between alternate sets of statements, to execute. And this is where the core concept of Control Structure comes in, so you can control which instructions are executed, in your program - and alter its behaviour.

In programming languages, most of the time you want to control the execution flow of your program, since: you want to execute some set of statements, only if the given condition is satisfied. And a different set of statements, when it is not satisfied. Please, also note that Conditional Structures are also known as: Decision-making statements!

A Decision, is when a program has more than one choice of actions, depending on a variable's value. In the real World, you commonly must evaluate information around you, and then choose one course of action or another, based on what you observe (e.g traffic light)

Luckily, when your application needs to make such decisions in Python, the IF statement is how you perform this sort of decision-making. And it allows conditional execution of a statement, or a group of statements, based on the value of a boolean expression. Then comes IF, ELSE, and ELIF - so you can add more branches to your program.

🎯How to control the execution flow of your program, so you can change its behaviour based on an expression, or variable's value? In this video, you will discover conditional statements: If, Else, Elif. You will then learn how to combine them in Nested Conditionals, and How to use Ternary Operators!

Let's play this video, stick around and watch until the end! 👍🏻

Digital Academy™ 🎓


▬▬▬▬ 🎬 Watch NEXT ▬▬▬▬

○ PYTHON OPERATORS:    • OPERATORS in Python (Arithmetic, Assignmen...  
○ PYTHON FOR Loops:    • FOR Loop in Python (Syntax, Break, Continu...  
○ PYTHON WHILE Loops:    • WHILE Loop in Python (Syntax, Break, Conti...  
○ PYTHON LIST:    • LISTS in Python (Create, Add, Access, Slic...  

🌐 Blog: http://digital.academy.free.fr/blog/p...

📖 [PLAYLIST] Complete Python Development Course for Beginners: http://digital.academy.free.fr/playli...


▬▬▬▬ 🔗 Links ▬▬▬▬

🌐 Blog: http://digital.academy.free.fr/blog

🛒 Shopping: https://payhip.com/DigitalAcademyOnline

📘 [BOOK] Python for Absolute Beginners: https://amzn.to/3NvyOWV

👨🏼‍🏫 [ALL COURSES] http://digital.academy.free.fr/courses

💌 Weekly Newsletter for Developers: https://www.getrevue.co/profile/digit...


▬▬▬▬ ⏱ Timestamps ▬▬▬▬

00:00 | Intro
00:09 | Introduction
01:08 | Conditional Statements in Python
01:40 | Definition - Control Flow Execution
02:48 | Python Conditional - IF Statement in Python
06:30 | Python Conditional - IF-ELSE Statement in Python
09:00 | Python Conditional - ELSE-IF (ELIF) Statement in Python
11:35 | Nested Conditionals in Python
12:50 | Ternary Operators in Python
14:29 | Conclusion
15:10 | Subscribe, Like, Comment & Share

#Python #Tutorial #Beginners #Conditionals #If #Else #Elif


▬▬▬▬ ⭐ FOLLOW US ▬▬▬▬

✧ http://digital.academy.free.fr
✧   / digitalacademyy  
✧   / digitalacademyfr  
✧   / digital_academy_fr  
✧    / digitalacademyonline  


▬▬▬▬ ⚡ SUPPORT US ▬▬▬▬

✧ http://digital.academy.free.fr/join
✧ http://digital.academy.free.fr/donate
✧ http://digital.academy.free.fr/subscribe
✧   / digital_academy  
✧ https://www.buymeacoffee.com/digital_...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
CONDITIONAL Statements in Python (IF, ELIF, ELSE, Nested, Ternary Operators) - Python for Beginners

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

FOR Loop in Python (Syntax, Break, Continue, Else, Nested Loop, Range, Index) - Python for Beginners

FOR Loop in Python (Syntax, Break, Continue, Else, Nested Loop, Range, Index) - Python for Beginners

Полный Курс Python / Изучение в одном видео для начинающих с нуля

Полный Курс Python / Изучение в одном видео для начинающих с нуля

Control Flow in Python - If Elif Else Statements

Control Flow in Python - If Elif Else Statements

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

Россия победила в войне / Официальное заявление МИД

Россия победила в войне / Официальное заявление МИД

Python — полный курс для начинающих. Этот навык изменит твою жизнь.

Python — полный курс для начинающих. Этот навык изменит твою жизнь.

Vim Tutorial for Beginners

Vim Tutorial for Beginners

Иран за 4 дня?

Иран за 4 дня?

Алгоритмы на Python 3. Лекция №1

Алгоритмы на Python 3. Лекция №1

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Как Ubuntu Предала Linux - Вся Правда о Взлёте и Падении Canonical

Как Ubuntu Предала Linux - Вся Правда о Взлёте и Падении Canonical

Алгоритмы и структуры данных за 15 минут! Вместо 4 лет универа

Алгоритмы и структуры данных за 15 минут! Вместо 4 лет универа

Музыка для работы - Deep Focus Mix для программирования, кодирования

Музыка для работы - Deep Focus Mix для программирования, кодирования

ООП На Простых Примерах | Объектно-Ориентированное Программирование

ООП На Простых Примерах | Объектно-Ориентированное Программирование

Где начало СХЕМЫ? Понимаем, читаем, изучаем схемы. Понятное объяснение!

Где начало СХЕМЫ? Понимаем, читаем, изучаем схемы. Понятное объяснение!

If statements in Python are easy (if, elif, else) 🤔

If statements in Python are easy (if, elif, else) 🤔

Learn MATLAB in ONE Video!

Learn MATLAB in ONE Video!

Ричард Фейнман объясняет, почему прошлое на самом деле никуда не исчезло

Ричард Фейнман объясняет, почему прошлое на самом деле никуда не исчезло

Лучшее от Вивальди 🎻 15 самых популярных произведений 🌤️ Исцеление, расслабление

Лучшее от Вивальди 🎻 15 самых популярных произведений 🌤️ Исцеление, расслабление

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]