Ad
  • Custom User Avatar

    Hi,

    I have a working solution for the given test samples although when I try to run any kind of code the error message will be always : "AttributeError: 'list' object has no attribute 'expect' ". Even when the function returns the parameter only, or just passes. There is one exception: in case of only 1 line "def find solution(words):" the message will be:

    "File "", line 230
    tests = [
    ^
    IndentationError: expected an indented block"

    I believe this has nothing to do with my code.

  • Custom User Avatar