Question: DO NOT STORE THE PASSWORDS IN A FILE * For this challenge, you will be writing a program that stores 5 0 of the most
DO NOT STORE THE PASSWORDS IN A FILE
For this challenge, you will be writing a program that stores of the most common passwords co You will then ask the user to create a username and password using a looping structure OR the in list, and IF it is print out: "Your password is too common. Please consider changing it In additio where the password is stored if one was already found, ie at index
If the password is not in the list, then ensure that the user enters at least one capital letter, one lov these #$ and is at least or more characters long. You will achieve this outcome by ch user's password string. If the user does not have the aforementioned features, you will ask them tc the user's password to the password database list and print out: "You have a strong password."
Program Instructions:
Create three functions:
def StoredPasswordscheckPass:
def getUserPass:
def main or if main:
Call getUserPass from main:
Create a List with of the most common passwords in StoredPasswordscheckPassTHE LIS
Ask the user to create a username and password you will need two different variable names h Make sure to appropriately deal with integers and strings you can force everything to a str
Call StoredPasswords from getUserPass and pass the user's password as an argument ie result StoredPasswordsuserPass
Compare the user's password with the values in the List from inside the body of the StoredPas IF you get a match, stop comparing the values and store the string Your password is too co
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
