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.
Thanks a lot :)
Hi @Stephard, you could try
print(maze)
to display the maze andprint(directions)
to print the directions to the standard output.My Python code is passing the sample tests but randomly fails at different real tests. The system complains that I am showing either 'Finish' or 'Lost' instead of 'Dead'. Is there any way I can look into the test cases to see whats going on?
Youn need to import the __builtin__ module (builtins for Python 3).
I don't get how you can define methods for list objects. I tried to create a class for list obejects like you ("class CustomList(list)") but when trying to call the methods on a list like e.g. .even() I geth the following error:
AttributeError: 'list' object has no attribute 'even'
What am I doing wrong?