Respect
Mind blown!
how does this work?
Why you not check a != 0 and b != 0?
You clearly understood the fundamentals :)
if you recall the boolen expressions. True and True automatically return True True and False / False and True return False
Its smart
simple and clear!
Gostei, primeira que fiz em uma linha.
Oooh I understand now, I did something similar but instead i subtracted 360. Thank you so much for such a detailed response!
This comment is hidden because it contains spoiler information about the solution
I'm in awe..Bitwise operators
Am I a joke to you?
Easy to read
number % a == 0 and number % b == 0 evaluates to True if both are True number % a == 0 and number % b == 0 evaluates to False if either or both are False
So there is actually a boolean being returned :P
Loading collection data...
Respect
Mind blown!
how does this work?
Why you not check a != 0 and b != 0?
You clearly understood the fundamentals :)
if you recall the boolen expressions.
True and True automatically return True
True and False / False and True return False
Its smart
simple and clear!
Gostei, primeira que fiz em uma linha.
Oooh I understand now, I did something similar but instead i subtracted 360. Thank you so much for such a detailed response!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm in awe..Bitwise operators
Am I a joke to you?
Easy to read
number % a == 0 and number % b == 0 evaluates to True if both are True
number % a == 0 and number % b == 0 evaluates to False if either or both are False
So there is actually a boolean being returned :P
Loading more items...