Course contentsShow
Python
Lesson 260 of 1,2896. ConditionalsPro lesson

Ternary expression

`x if cond else y` for inline choices.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.