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 50 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, i.e at index 0,10,50.
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 8 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 StoredPasswords(checkPass):
def getUserPass():
def main() or if =='_ main_':
Call getUserPass from main():
Create a List with 50 of the most common passwords in StoredPasswords(checkPass)(THE 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 - i.e., result = StoredPasswords(userPass)
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
 DO NOT STORE THE PASSWORDS IN A FILE* For this challenge,

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!