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.
Not a kata issue:
You inverted the logic there, the opposite of
<=
is>
.Don't cap the boss happiness value, don't use floor. Not a kata issue.
I have no idea why this is failing on random tests with Python.
if boss is in the room, times their score by two. - I've tried limiting that to a max of 10, tried without the limit too.
Add all of the scores up, divide by how many people there are. I've tried calculating with all people in the dict, I've tried removing zero rated people.
I've tried multiple ways of calculating an average - Mean, Median, Mode, integeger division, float division... everything.
What am I missing here? :-/
Ah, I thought this was a C++ only kata. I'm new here, so still trying to get a feel for how things work.
me weeps in C++ as a first language
Who said anything about C++ ?
I did it in Python which can be OO but also can be functional, dynamic, procedural etc. Nobody should learn C++ as their first language.
The Kata isn't only available in C++ but in lots of other languages.
OOP is a core aspect of C++ though, so that is probably why the kata is ranked as it is. Someone new to coding probably shouldn't be introduced to it through C++, as there are much better languages to start with for learning basic concepts.
There is no way this is an 8kyu kata. I had to look up the formula for finding the distance between two points and if I hadn't been coding for a while, I would have had no idea how to handle classes. This needs the level upping. OOP is not something that people learn straight away when learning to code!!!
LOL!
How does that work?
Ahh I didn't realise we had to publish them. I thought they were automatically published once we completed them. I'm new here so just learning the ropes :)
I used Python for this one.
What language did you use? (you didn't publish your solution so we cannot see it)
Did you look at the other solutions in that language?
Interesting kata... I think 6 kyu is a fitting difficulty for this kata!
Hello everyone!
Can somebody please explain me why the garage door began opening ?
Example ".....P......P.P..P...."
Should resume closing on third buttonpress expected:<000001234555[4333321000]>
but was:<000001234555[5555555555]>
There should be pause no ? Or am I missing something ?
thanks
Loading more items...