Password strength validator
Your task
Implement a password strength validator for a sign-up form. Return True only if the password satisfies ALL of: at least 8 characters long, contains at least one uppercase letter, at least one lowercase letter, at least one digit, and at least one special character (any character that is not a letter or digit). Otherwise return False.
Examples
password_strength(pw: str) -> boolExample 1
Input
password_strength("Abcdef1!")Output
True