Python's ternary operator

preview_player
Показать описание
Python doesn't have the traditional ternary operator that most programming languages do. Instead we have "conditional expressions".

00:00 Python doesn't have typical ternary operators
00:20 Python's conditional expressions (a.k.a. inline if)
01:09 Readability of conditional expressions
01:42 Python's ternary-equivalent is inside-out
Рекомендации по теме