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 Python expert, but I doubt that they run your code differently.
As you describe your code (and assuming that you pass the tests before the bananas) it would return False (which is not the correct answer). But it is of course difficult to say without looking at the actual code.
It's not much but I hope it helps you forward.
Good Luck! :-)
This comment is hidden because it contains spoiler information about the solution
5 kyu kata represent a novice programming level. At this level the kata are similar to 6 kyu but more challenging. It includes:
Complex language features that require mature OOP/Functional concepts
Advanced OOP/Functional concepts
Complex Design Patterns
Advanced regular expression usage
I don't see any of those here.
This comment is hidden because it contains spoiler information about the solution
Worked perfectly thank you,
nice, challenging exercise, keep up the good work!
Yes, there was a bug in php test, my fault.
I fixed it. Please try again now and let know if it works.
Thanks
Using PHP here, when I run my code every test works except the last:
Error: Call to undefined function sortPeople()
It is not in the sample test so I can't really see.
Is it me or is something missing?
Thanks
Thanks for the link and the info.
Not an issue.
Javascript is most popular in this kata, so i think that must be something in your code.
If you don't mind you can past your code and then i can investigate it.
If you talking about javascript it is not issue. It's legal from es5. Moreover it's good practise: https://github.com/airbnb/javascript#commas--dangling
Minor issue, but...
In the example input there should not be commas after the points values:
{
name: John,
points: 100, <--- HERE
}
In the example output there should not be commas after the position values:
{
name: John,
points: 100,
position 1, <--- HERE
}