Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

How prepared was the organization for the new business strategy?

Answered: 1 week ago