A simple program that generates a random password while satisfying the common password requirements (i.e., having at least 8 characters, one uppercase and one lowercase letter, and one special character). The user inputs the desired length of the password.
Run the following in the terminal after installing python:
python generator.py
Some Examples:
Enter the desired length of the password: 24
Your password is: !+>v4W2zNz?9rlR\XXJi-849
Enter the desired length of the password: 5
The password must have at least 8 characters.
Please enter again!
Enter the desired length of the password: c
Please enter a whole number!
**Please note that this is only a project.