Question: I need a Python program to determine whether a password meets all the requirements for a secure password. The program should prompt the user for

I need a Python program to determine whether a password meets all the requirements for a secure password. The program should prompt the user for the candidate password and output either that the password is valid or the reason it is invalid. To be valid the length of the password must greater than some minimum length but less than some maximum. It must not include the substring "umgc" in any combination of upper or lower case letters. Finally, it must contain the # symbol is some position other than the first or last character. You should decide on the minimum and maximum allowable lengths.

Thanks course hero!

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 Programming Questions!