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

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