Ad
  • Custom User Avatar

    Thanks a lot :)

  • Custom User Avatar

    Hi @Stephard, you could try print(maze) to display the maze and print(directions) to print the directions to the standard output.

  • Custom User Avatar

    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?

  • Custom User Avatar

    Youn need to import the __builtin__ module (builtins for Python 3).

  • Custom User Avatar

    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?