Description
The fifth assignment involves writing a Python program to determine whether a password meets all the requirements for a secure password. Your 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 be 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.
Your program should include the pseudocode used for your design in the comments. Document the values you chose for the minimum and maximum allowable lengths in your comments as well.
You are to submit your Python program as a text file (.py) file. In addition, you are also to submit a test plan in a Word document or a .pdf file. 15% of your grade will be based on whether the comments in your program include the pseudocode and define the values of your constants, 70% on whether your program executes correctly on all test cases and 15% on the completeness of your test report.
Min 8 Max 15

Explanation & Answer

Please view explanation and answer below.Here are the files attached. Let me know if you have any questions or comments.If not, please click on "review and submit". Thanks!
CMIS 102 Introduction to Programming
Test Report for Valid Password program
Pseudocode:
1. Start
2. password ← user input of type string
Function validPassword () takes argument password
3. validPassword() ← password
Function variable definitions
4. passwordLength ← length of password
5. minLength ← 8
6. maxLength ← 15
7. valid ← False
8. Check if minLength < passwordLength < maxLength
9. Check if password does not contain the string "umgc"
10. Check if password contains the string "#", and if it is not the first or last character
11. If password contains "#",...
