python
beginner
हल किया
2026-11-17 को समाप्त
Validate a strong password
Write check_password(pw) that returns a list of problems (empty list = strong password).
Rules, each with the exact message to return:
| Rule | Message |
|---|---|
| at least 10 characters | "too short" |
| at least one lowercase letter | "needs a lowercase letter" |
| at least one uppercase letter | "needs an uppercase letter" |
| at least one digit | "needs a digit" |
| no spaces | "no spaces allowed" |
Return the messages in the order of the table.
अब तक 0 लोगों ने हल किया।
एडिटरCtrl + Enter
जब टेस्ट "All tests passed" दिखाते हैं, तो चैलेंज इस ब्राउज़र में हल के रूप में चिह्नित हो जाता है।
अपना समाधान समीक्षा के लिए भेजें