Practice · 1 of 2
Collect every password problem
CHALLENGE
Difficulty: advanced+25 XP
Implement check_password(pw) — every rule is checked, every violation is collected, the order is fixed (length, uppercase, lowercase, digit, whitespace, breach list), and non-string input returns (False, ['must be a string']) before any other rule runs.
Press Submit to check your solution.
Back to lesson: Practice: Hardening Drills