Conditions and Control Flow: 8; “bool_three”.
#Set bool_three equal to the result of not 10 % 3 <= 10 % 2
Here is where I get confused, the % confused me a lot at first when used this way, but I found it was to divide a number while keeping the remainder. So if I have this correct it, the following would be correct “108 % 100 = 8”, which showed up previous in the course.
However if applied to
not 10 % 3 <= 10 % 2
My understanding would be that “10 % 3 = 1” and “10 % 2 = 5” since there is no remainder, so we would then get;
not 1 <= 5 #aka "not True" equaling False.
But I enter
bool_three = False
and I get told to double check my value for bool_three, obviously the easy thing to do would be to just switch it to True, but I don’t want to move forward before I understand what I’m doing wrong, can someone please explain?