LearnPy Hub
← Functions problems
Hard

Password Checker

Write small helper functions has_upper, has_digit, long_enough (8+ characters) and check(pw) that returns a list of the rules broken. Print Strong, or the broken rules joined by , using the names uppercase, digit, length.

Input

One line.

Output

One line.

Sample 1

Input
Password1
Output
Strong

Sample 2

Input
abc
Output
uppercase, digit, length
solution.py
Output appears here
Password Checker · Python practice problem · LearnPy Hub