Cybersecurity · Beginner · 50 points · about 45 min
Build a simple program that checks whether a password meets basic security requirements.
Stuck? Open a hint. Try the first one before the next.
any(c.isdigit() for c in password) checks whether a password contains a number.
Use c.isupper() and c.islower() the same way for letters.
Type import string, then string.punctuation lists the special characters.
Practice applying basic password security rules using programming logic.
Python, strings, conditionals, functions, basic cybersecurity
A strong submission correctly checks all required password characteristics, provides accurate feedback, handles different inputs appropriately, and contains readable and well-organized code.