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 python
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
Get step-by-step solutions from verified subject matter experts
