Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

13. You always should try to make a good first impression.

Answered: 1 week ago

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago

Question

What is meant by planning or define planning?

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago