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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!