Light Mode
Dark Mode
Aceptable 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

Created: Oct. 21, 2022, 12:57 a.m.
Updated: Nov. 1, 2022, 4:58 p.m.
1
8
User avatar
Julian.prg