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.
I just added a quick fix so this shouldn't happen anymore. But it appears that you solved it already anyway :p
Oh yikes, the tests for Python are really bad: they crash on any error coming from your code (thinking you wrote a Translator class instead)
For sample tests, you can modify the tests. Change the
except
clause:With this you'll see that the mistake is on line 6:
if beers = 1
Your code uses the
translate
module, which is not installed on Codewars.