Medium
Password Rules
A strong password has at least 8 characters, an upper-case letter, a lower-case letter and a digit. Check each line until END with regex searches and print
strong or weak.Input
Lines, then END.
Output
One line each.
Sample 1
Input
Password1 password END
Output
strong weak
Sample 2
Input
Ab1 END
Output
weak
Output appears here