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.
Amazing.
Can somebody explain how this excludes the final three from giving bonus points for Xs or /s?
If the final roll was a X, wouldnt it run: score += frame + rolls[0] + rolls[1], which would cause an out of range error?
Very readable, lovely answer
clever, but this could be problematic if there are numbers or symbols in the string wont it?
Are there any websites similar to codewars which provide more professionally focused challenges?
thanks. Further in what sense?
"Developing programmer", as in a beginner programmer who is developing their skillset.
So is codewars any use then for a developing programmer or is it just for fun?
what rank would i need to get hired as a developer?
without the use of cmath, this is my favourite solution. Compact yet easy to understand.
Be better if the author could provide a little more fundamental info so that someone can understand this more clearly without knowing graph theory.
Would someone mind explaining to me the logic behind why the problem in this kata occurs in the first place? I dont understand why running the add_grade method on one instance affects the grades attribute of all instances?
Nice to see an example done with classes and methods, thanks
Nice little Kata thanks.
But you need to point out at the beginning of the description that the aim is for each person to end up paying the same amount, i.e. splitting the bill evenly.
Please correct me if Im wrong, but isnt the use of (object) in the class definition a legacy from Python 2 to differentiate between "classic" and "new-style" classes? For users of Python 3, using "(object)" is redundant as all Python 3 classes are "new style"
This comment is hidden because it contains spoiler information about the solution
Loading more items...