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.
I don't think the description means that these IP addresses are invalid across the board. I think it means to consider them invalid for this task, which is perfectly fine. Typically when IP addresses are displayed in any system, they are displayed without leading zeroes. This task is likely trying to recreate that, even if the leading zeros aren't "wrong".
The question seems to misunderstand some IP address concepts. For example, 12.34.56.00 is a valid IP, leading 0s are absolutely fine (although unnecessary), and a few other things. Because of this, I don't think there is any "best practice" for this question and it could be teaching bad practices in terms of IP address validation.
Haskell translation
the error comes from your code, it raises an error when there is a trailing period, e.g.
"1.2.3."
Groovy Translation
This comment is hidden because it contains spoiler information about the solution
The input is not the same, please write in english, and read the posts below, it's been discussed many times before.
при строке "1.2.3.4" код выдает True, но при тесте ожидает False, хотя в инструкции сказано, что "1.2.3.4" валидный адрес
Lua translation!
Thanks so much for the kata :)
that was good
Kotlin translation
This comment is hidden because it contains spoiler information about the solution
fixed at some point
not a proper issue report (and leading spaces are not allowed in this kata)
Loading more items...