• Aceptable Password VI

Question related to mission Acceptable Password VI


Hi, in the mission of the title we got the following rules for the verification:

The verification conditions are:

  • the length should be bigger than 6
  • should contain at least one digit, but it cannot consist of just digits;
  • having numbers or containing just numbers does not apply to the password longer than 9.
  • a string should not contain the word "password" in any case;
  • should contain at least 3 different letters (or digits) even if it is longer than 10

So why this test have to be false? Its length its 7 and got 1 digit:

  • assert isacceptablepassword("aaaaaa1") == False

thank you