Question: You saw how easily we solved that password in task one of the lab above! All we needed was a few keywords from Joe Gaucho,

You saw how easily we solved that password in task one of the lab above! All we needed was a few keywords from Joe Gaucho, and we
were able to hack his password. This is a huge real-world concern because this happens all the time, which is why secure passwords
are so heavily emphasized and therefore in this task below we will learn how to write a function that checks to make sure whether the
password is secure or not given the general criteria of a secure password.
Your next task entails writing the is_secure() function in the is_secure.py file:
def is_secure(password): This function should return a string explaining the password security.
Secure Password Criteria:
Password should be at least 8 characters long.
Password should contain both uppercase and lowercase letters.
Password should contain at least one digit.
Expected outputs for respective inputs to password:
password = "ComputerScience8"
Good job your password is secure!
password ="Cs8"
Should contain at least 8 characters long.
password = "computerscience8"
Should contain at least one uppercase letter.
You saw how easily we solved that password in

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