Ad
  • Default User Avatar

    I'm getting the following errors:
    It should work also for a ['w', 'n', 'w', 'n', 'e', 's', 'e', 's'] walk: True should equal False
    It should work also for a ['w', 's', 'w', 'e', 'e', 'n', 'e', 'w'] walk: True should equal False

    When clearly the answer is True for both the cases above

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Can somebody explain why im getting this error. As you can see my code spits out what's required but the output window says otherwise:
    Basic tests
    Log
    no one likes this
    None should equal 'no one likes this'
    Log
    Peter likes this
    None should equal 'Peter likes this'
    Log
    Jacob and Alex like this
    None should equal 'Jacob and Alex like this'
    Log
    Max, John and Mark like this
    None should equal 'Max, John and Mark like this'
    Log
    Alex, Jacob and 2 like this
    None should equal 'Alex, Jacob and 2 others like this'