Expresions in Conditionals


#1

Hi guys,

I would like to see if someone can check this expresion and tell me if I did good on it.

-(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2

-1 < 2**0 and 10 % 10 <= 20 - 10 * 2

-1 < 2 and 10 % 10 <= 20 - 10 * 2

-1 < 2 and 10 % 10 <= 20 - 20

-1 < 2 and 0 <= 20 - 20

-1 < 2 and 0 <= 20 - 20

-1 < 2 and 0 <= 0

True

Also, if you guys can explain me what means (19 % 4 != 300 / 10 / 10 and False)

I do not understand what means 300/ 10 /10 and False:confounded:

Thanks so much!


#2

19 % 4 != 300 / 10 / 10 and False

Solve modulo,

3 != 300 / 10 / 10 and False

Division,

3 != 30 / 10 and False

More division,

3 != 3 and False

Not equals,

False and False

Answer:

False

P.S. You don't really have to solve, as you see the 'and False' at the end, which will make any expression on left side False.