Question: In Python: Problem 2: Check UC's Password Policy (12 points) UC's password policy. Name the file uc_password_verifier.py. Write a program that reads a single password,

In Python: Problem 2: Check UC's Password Policy (12 points)

UC's password policy. Name the file uc_password_verifier.py. Write a program that reads a single password, and determines whether or not is valid based on the rules in UC's password site: https://password.utica.edu/index.php

Your program shall display:

"The password is valid" only if it satisfies all the requirements listed in the site.

If the password is not valid, the program shall print a message describing the first rule not met by the password.

Save your program as csc101_hw5_password.py. Include a transcript in which you show your program works correctly.

TIP: Implement each password rule as a function that returns a Boolean value. For example, for the rule "Passwords must contain at least one number (1, 2, 3, 4, 5, 6, 7, 8, 9, 0)" you could implement a function with the following header:

def containsAtLeastOneDigit(password): 

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!