Suppose that I have the following Python Code:
def fun5(a, b, c):
return a <= b if b <= c else False
fun5(2, 4, 6)
The output of fun5
is True
. How is this code being evaluated by Python?
I was expecting a SyntaxError
because of the lack of indentations and Python requires indentation.