!@#$%^&*()-+;
- no two equal characters stand next to each other (aa is not allowed, aba is fine).
Given the string password, return True if it passes the check and False otherwise.password='Sunny#Day7' → False
10 characters, lowercase and uppercase letters, the digit 7 and the sign #, and no equal neighbours.
password='Coffee+42' → False
Everything is there except one rule: "ff" and "ee" are equal characters side by side.
password='Ab3$' → False
Every kind of character is present, but the length is only 4.
password.length ≤ 100password consists of English letters, digits and the characters !@#$%^&*()-+password='Sunny#Day7'
False
Run checks the first 3 tests in your browser. Submit checks all 6 tests on the server, hidden ones included.