In this assignment, you will write a function that uses regular expressions to make sure the password string it is passe

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

In this assignment, you will write a function that uses regular expressions to make sure the password string it is passe

Post by answerhappygod »

In this assignment, you will write a function that uses regularexpressions to make sure the password string it is passed isstrong. A strong password is defined as one that meets all of therequirements below. You may need to test the string againstmultiple regex patterns to validate its strength.
- must be at least 10 characters long (use a named constant sothis value can change)
- must contain uppercase and lowercase letters
-must contain at least one number
-must contain at least one of these special characters: @$_ theuser's name cannot be included
-bonus: include a List of common words that are unacceptable fora password and check for them in the entered password
The program must tell the user whether or not the enteredpassword meets criteria.
You can decide to theme your program or create restrictions forwhat the user enters, be creative! Format your output so the userexperience is informative and engaging. Use what you've learned tocreate an informative user interface, no sample output is providedfor this lab.
Please test you python code before answering all other answershave been wrong or have errors
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply