Password Validator 85/100
Не мога да открия проблема, заради който гърми 1 проверка.
Условие:
Write a function that checks if a given password is valid. Password validations are:
- The length should be 6 - 10 characters (inclusive)
- It should consists only of letters and digits
- It should have at least 2 digits
If a password is valid print "Password is valid".
If it is NOT valid, for every unfulfilled rule print a message:
- "Password must be between 6 and 10 characters"
- "Password must consist only of letters and digits"
- "Password must have at least 2 digits"
Мерси много, това оправи проблема.