programming-starters-project
programming-starters-project copied to clipboard
Added password_strength_checker.py
Pull Request
Description
This pull request adds a simple Python program to check the strength of a given password. The program evaluates the password based on its length, presence of uppercase and lowercase letters, digits, and special characters. It provides a strength rating (Weak, Moderate, Strong) and suggests improvements for weak passwords.
Changes Made
- Added
password_strength_checker.pyfile. - Implemented a function
check_password_strength()to evaluate password criteria. - Added a
main()function to interact with the user via terminal input. - Included suggestions for improving weak passwords.
- Added comments for clarity on each step of the code.
Related Issues
- No existing issues related.
Checklist
- [x] I have tested these changes locally.
- [x] I have added appropriate comments in the code, particularly in complex sections.
- [x] I have updated the documentation if needed.
- [x] My code follows the project's coding style guidelines.
- [x] I have added/modified tests to cover the changes.