programming-starters-project icon indicating copy to clipboard operation
programming-starters-project copied to clipboard

Added password_strength_checker.py

Open sahilsharma17 opened this issue 1 month ago • 0 comments

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.py file.
  • 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.

sahilsharma17 avatar Oct 22 '25 18:10 sahilsharma17