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 realworld 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 issecure function in the issecurepy file:
def issecurepassword: This function should return a string explaining the password security.
Secure Password Criteria:
Password should be at least 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 "ComputerScience
Good job your password is secure
password Cs
Should contain at least characters long.
password "computerscience
Should contain at least one uppercase letter.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
