Ad
  • Custom User Avatar

    You can't assign function to a variable, you can call a function and store its return to a vaiable but not declare the function in the variable it self.

  • Custom User Avatar

    no, you should look up how to define a function in python again: there is absolutely no way, that your def is at the beginning of the line when you have maze = just in front of it... ;)

    maze = def maze_runner(maze, directions):
    #^^^^^^  cough!
    
  • Custom User Avatar

    Hi,

    not an issue. Issues are for problems in the code of the kata. Here, your code is using invalid syntax => that's a "Question".

    about that problem of yours: when used, def has to be at the very beginning of the line (according to the current indentation level)

    Cheers