Password check
Task
A strong password has at least 8 characters and contains a lower-case letter, an upper-case letter and a digit.
The program reads a password. If it is strong, it prints silne heslo (strong password). Otherwise it prints slabe heslo (weak password) and below it every unmet condition on its own line, in this order: aspon 8 znakov (at least 8 characters), male pismeno (a lower-case letter), velke pismeno (an upper-case letter), cislica (a digit).
Examples
Input
Informatika2025
Expected output
silne heslo
Input
Ab1
Expected output
slabe heslo aspon 8 znakov
After you submit, 4 hidden tests will also check your solution: no digit, digits only, exactly 8 characters, an empty password.
Python starts the first time you run code.
Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.
Input (stdin)
Each line = one call to input().
Output
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.