Validate password strength.
Read a password. Print "strong" if it has length>=8, at least one uppercase, one lowercase, and one digit. Otherwise "weak".
Test input: Hunter2x
Expected output: strong
Sign in to save your code and track progress across devices.