Question: in python Question 5: The ACME Widgets Company has a new password policy. Passwords must be at least 8 characters long and must contain the

in pythonin python Question 5: The ACME Widgets Company has a new password

Question 5: The ACME Widgets Company has a new password policy. Passwords must be at least 8 characters long and must contain the following: At least two uppercase letters At least one lowercase letter At least two digits . At least one special character: ! @ # $ Write a program that reads in a string and determines whether it is a valid password. Sample output (2 different executions): Enter a password: P4Ssword1! P4Ssword1! is a valid password. Enter a password: password password is not a valid password

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!