If Else
7.7
Lesson

Inline if condition

In general we write if conditions like this.

Simple if conditions can be written without an end. This is called inline if.