Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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...