# Problem with boolean

#1

so @mtf, for 3.
Set bool_three equal to the result of not 10 % 3 <= 10 % 2

since that simplified is 3 1/3 <= 5 this is a TRUE statement. So since the not operator returns FALSE for TRUE statements, and TRUE for FALSE statements, Line 5 I should enter as FALSE. However everytime I input FALSE as the answer, I get “Oops, try again. Double check your value for bool_three!” Is this an error in the actual program? this is frustrating for me because I want to make sure I have a thorough understanding of the concept before I move on. Please help me out here.

Plz help 8/15
#2

`10 % 3` is `1`; `10 % 2` is `0`. `1` is greater than `0` so the statement is `false`.

#3

I must be really lost then >.< so I only count the remainders?

#4

Correct. That is what a modulo is, the remainder in division.

``````10.5 % 1  gives 0.5

15 % 4  gives 3
``````

Notice that 15 / 4 is 3 3/4. When we multiply the fractional portion by the modulus, `4`,

``````3/4 * 4 == 3
``````

we get the modulo.

#5

I completely forgot about modulo! I’ve decided to start from lesson 1 again to make sure that I have a thorough understanding of the basics. Thanks for reminding me to slow down