x = True; y = False; print(x and y)
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
The logical 'and' operator returns the first falsy value or the last value if all are true. Since x is True and y is False, 'True and False' evaluates to False.