Hello, I am trying to pass this exercise, I have tried a bunch of different results but nothing works. Can someone provide me solutions on how to proceed? Thanks!
The boolean operator and returns True when the expressions on both sides of and are true. For instance:
1 < 2 and 2 < 3 is True;
1 < 2 and 2 > 3 is False.
Let's practice with and. Assign each variable to the appropriate boolean value.
Set bool_one equal to the result of False and False
Set bool_two equal to the result of -(-(-(-2))) == -2 and 4 >= 16**0.5
Set bool_three equal to the result of 19 % 4 != 300 / 10 / 10 and False
Set bool_four equal to the result of -(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2
Set bool_five equal to the result of True and True
"Double check your value for bool_four!"
bool_one = 5<4 and 8>9 bool_two = False and True bool_three = True and False bool_four = False and False bool_five = True and True