evaluate conditional expressions and use boolean operators to control flow python code example
Example 1: or statement python
if x==1 or y==1:
print(x,y)
Example 2: condition ? expr If True : expr If False
condition ? expifTrue : expIfFalse;
if x==1 or y==1:
print(x,y)
condition ? expifTrue : expIfFalse;