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.
No, see https://github.com/Codewars/codewars-runner-cli/blob/master/frameworks/python/cw-2.py
This comment is hidden because it contains spoiler information about the solution
Sounds good, I meant local tests pass in python.
In which language do you have problems since you pass the Python tests?
"Unknow errors" aren't bound to the kata but to problems with Codewars when too busy. It's not an issue for the kata.You can make a bug report to Codewars.
I'm getting unknown error on submission :(
But tests pass, in python...
But unneeded, in fact. I've created all this complex construction thinking that the methods would be called on the class, not instance, so they have to be static. Once I figured out the instance of HTMLGen would be created, all this complex stuff became unnecessary. My other solution is much better, in this aspect.
consider abstracting this functionality into it's own method, easier to change etc.
Great use of getattr!
Is there any pre-test/post-test methods?
Why not just use the else for the first line? Why have two seperate if statements?
A and B are not descriptive, so youd probably fail a programming interview using them.