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.
The issue was with me modifying initial array, thats why I couldnt get the right answer :)
Dude, u don't need to sorry. I appreciate any help :)
I knew u would do that :D Btw ur solution for that problem is great
p.s. for some reason I thought it's not possible to use enumerate in list comprehensions. thx for the tip :)
passes basic tests, but something happening at random
Expected: '['+0', '+-13', '+14', '+2', '+-31']',
instead got: '['+0', '-13', '+14', '+2', '-31']'
I'm new to JS, not sure if everything is ok here. Shouldn't negative numbers be just with minus sign instead of "+-"?
Python basic test cases should be modified (user, group and other miss str quotation marks)
Test.assert_equals(chmod_calculator({user: 'rwx', group: 'r-x', other: 'r-x'}),"755")
should be:
Test.assert_equals(chmod_calculator({"user": 'rwx', "group": 'r-x', "other": 'r-x'}),"755")
Doubt I can beat that, haha :D
[983.84, 34.5, 341.34000000000003, 445.85200000000003] should equal
[983.84, 34.5, 341.34000000000003, 445.852]
Does it work as intended? I would suggest adding some rounding.
Works perfectly now. Great kata, ty.
del
Random tests
Traceback:
in
in angleplanes
in
NameError: name 'vecpoint' is not defined
Seems like site is bugged, I did ~ 5 katas and got 0 honor.
p.s. I had those kind of timeouts too, dont think they affect receiving honor pts :)
This comment is hidden because it contains spoiler information about the solution