This/That Help


#1

Hi, I got the first one boolean on this argument incorrect.

Can you explain why bool_one equal to the result of False or not True and True equals False?


#2

Not False negates the value. This means that not False returns True. (not True returns False)
"or" means logical sum. Simply put, if any of argument are True then it returns True. it only returns False if both of arguments are False
1 + 1 = 1
1 + 0 = 1
0 + 1 = 1
0 + 0 = 0

"and" means logical product (multiplication) . Simply put, if any of arguments are False it will return False.
1 * 1 = 1
1 * 0 = 0
0 * 1 = 0
0 * 0 = 0

so you got something like this: 0 + 0 * 1 = 0