Ad
  • Default User Avatar

    Thank you for your response, I'm sorry I'm not sure what you mean by that? I'm not getting an error message, my question is about why the test question expects False when the negation of the ox statement should be true.

  • Default User Avatar

    Hello! Am I being totally daft? For the 3rd example it says: 'test.expect(not xo('xxxoo'), 'False expected')
    However xo returns a bool saying True for same number of x's and o's
    This means that xo('xxxoo') should return False (as the numbers are not equal) meaning that not xo('xxxoo') should return True (negation).
    I'm obviously missing something.
    Help very much appreciated.