Exercise: Combine logical operators

Use a combination of Logical Operators and parentheses to check if both x and y are True or neither of them is True.
x = False y = False # hint: you will also need 'or' and 'not'
is_true = (x and y)
print(is_true) # expected output: True
Python
Setting up Python environment...
Output