The exercise asks you to do the following:
Set the variable
statement_one equal to the results of the following boolean expressions:
(2 + 2 + 2 >= 6) and (-1 * -1 < 0)
I have entered the following code:
statement_one = (2 + 2 + 2 >= 6) and (-1 * -1 < 0)
and it returns False.
As both boolean expressions are True I expected True to be printed. However, I believe it’s returning false because -1 isn’t being accepted as a negative number.
Just wondering why this isn’t working as expected?
Thanks in advance