Question
Please complete in python Strong passwords are difficult for a person or a machine to guess (through brute-force methods). The following are some of the
Please complete in python
Strong passwords are difficult for a person or a machine to guess (through brute-force methods). The following are some of the features of strong passwords:
At least 8 characters.
A mixture of both uppercase and lowercase letters.
A mixture of letters and numbers.
Inclusion of at least one special character, e.g., ! @ # $ ]
Complete the function strong_pass that accepts a String as a parameter and checks to ensure that it has the above requirements. The function assigns one point for each strong password feature the given password has. If the total points at the end of the check is equal to four, the function should return "Strong" for three points "Good" for two "Fair" and for one or less "Weak."
Hint - You can Use ASCII Values to check if a character is an upper or lower case letter. The ASCII Value can also tell you if a character is an integer or a special character.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started