If statements are present in all our code and can in fact be written efficiently in a single line. A condition-less code will be monotonous and one couldn't do much with such a linear flow. If...
One Line If Elif Else Statements in Python 3
read more