Question
Python password validation program that is supposed to validate the complexity of a password. Password complexity requirements- The password must be at least 8 characters
Python password validation program that is supposed to validate the complexity of a password.
Password complexity requirements- The password must be at least 8 characters long, the password must have at least one uppercase, one lowercase letter, and at least one digit, the password must not included any special characters.
Ask the user to Enter a new password: then validate against complexity. If requirements are not met, display "Your password does not meet complexity requirements!" otherwise ask the user to Please re-enter the same password.
If the passwords match, display Password is valid and two entries are matching.
If the passwords don't match then display Passwords do not match! It should loop back to beginning and ask the user to enter the password, validate it, and then re-enter the same password. The maximum attempts are 3.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started