python logical operators exercises code example Example: logical operators in python condition1 and condition2 condition1 or condition2 not condition