Question: Provide a Python program to determine whether a password exactly meets the following requirements for a secure password:
the length of the password must be greater than some minimum length and less than some maximum. You should decide on the minimum (at least 6) and maximum (at least 15) allowable lengths;
it must not include any spaces;
it must contain at least one digit; and
it must contain at least one alphabetic character.
Your program must contain at least three functions:
one function to check that the password is the proper length;
a second function to check whether it contains the required number of characters/digits (Hint: to determine whether it contains at least one digit and one alphabetic character, use a loop and the isalpha or isdigit methods); and
a third function to verify that it does not contain the prohibited character (space).
Your program should prompt the user for the candidate password and then each function and display either that the password is valid or the first reason it is invalid.
You cannot use Regular Expressions (RE) !
Your program should include Header comments (what the program does) and in-line comments (the major design steps).
Completeness of your Test plan/report (at least three (probably more) test cases). You should have a test case for each invalid and one for a valid password. Include screenshots for each test case.
SHN6023 : Mental Health, Resilience and Recovery Across the Life-course – Case Study Assignment
Read MoreBUS6009 : International Business Management – Written Case Report
Read MoreBUS6018 : PROJECT MANAGEMENT – PROJECT PLAN
Read MoreHCM4003 : Communication and Interprofessional Collaboration – Podcast
Read MoreQHO335 : Business Project – Critical evaluation of an organisation’s response during the cost-of-living crisis in the UK
Read MorePRM7006 : Management of Traditional Projects – PID Assignment
Read MoreBMA5108-20H : International Business – Strategic Evaluation
Read MoreCA5055 : Airline Revenue and Pricing Management – REPORT
Read MoreCA5056 Aviation Psychology and Human Factors Assignment brief
Read MoreHow can i assist with youGBEN5006 : Intrapreneurial Development – Portfolio
Read More