Control flow / Conditional statements / if/else statements
Valid example
Valid example
Invalid example
Complex conditions
Ternary operator
n =
-42
classify =
"positive"
if
n >
0
else
"negative"
# classify
is
"negative"
print
(f
'
{classify = }
'
)