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.
This comment is hidden because it contains spoiler information about the solution
Because of
call PbZ9l_m4S$aTW8jy9eHsKxBTp9p3h '5'
. The EBNF defines that arguments tocall
must be variable names, yet here it is passing a char, which is invalid.Hi,
Could somebody please explain why code below is not valid and should throw error:
very beautiful solution
This is clever, but not so intuitive in my opinion.
But I'm just getting started with Python and programming in general, so I might change my opinion further down the rabbit hole!
Hello,
from what I understand, if (number % a > 0 or number % b > 0) it will return False because then that is some value.
number % a here is equals to number % a > 0.
so, the program returns True if number % a and number % b DO NOT have any values( because then they are of value 0 )
This is my first translation, thank you for your feedback.
I will update translation and fix everything you mentioned in comments.
My translation looks same as original JavaScript kata.
In my opinion tests must work in the same way for all languages.