How to use If, Else and Ternary in Python | Python Course #7

preview_player
Показать описание
This video shows you how to add dynamic control flow to your Python programs using if, else, and elif statements for complete beginners. Additionally, you will learn how to use the Python comparison operations and couple them with Boolean algebra. Finally, you will see how to use the Python ternary operator.

Recording Gear

⏰ Timestamps:
0:00 Intro
0:17 Static vs. Dynamic Program Flow
2:16 if else in Python
3:35 Python Comparison Operators
5:56 Python String Comparison
7:23 Comparison with Boolean Algebra
9:29 if without else
11:04 Python else if / elif
12:56 Chaining if elif else in Python
14:09 Python Short-circuit Evaluation
16:04 Python Ternary Operator
18:29 Summary
18:46 Outro
Рекомендации по теме
Комментарии
Автор

Very good video. Thank You. Any reason why you aren't using Python 3.10 yet? BTW..how did you customized your terminal to look like that? do you have a video?

jimcrowjoe