Ad
  • Default User Avatar

    Thanks! I hadn't thought of vacuous truths before. Good to know for what to do in the future.

  • Default User Avatar

    Why do your random test cases say that it should return True if the letter never appears in the first place? (I would have intuitively thought that in such a case, the function should return false.) The problem description doesn't explain what we should do when a letter never appears.